alef 0.25.37

Opinionated polyglot binding generator for Rust libraries
Documentation
1
2
3
4

    static final MethodHandle {{ handle_name }} = LIB.find("{{ ffi_name }}")
        .map(s -> LINKER.downcallHandle(s, FunctionDescriptor.of(ValueLayout.ADDRESS, ValueLayout.ADDRESS)))
        .orElse(null);