alef 0.23.39

Opinionated polyglot binding generator for Rust libraries
Documentation
1
2
3
4
5
6
7
/// Register a `{{ trait_name }}` implementation with the Rust runtime.
///
/// `name`     — null-terminated plugin name.
/// `vtable`   — filled `I{{ trait_name }}` struct with all required function pointers.
/// `user_data`— opaque pointer passed back as the first argument of every vtable call.
///
/// Returns 0 on success; non-zero on failure (error text written to `out_error`).