Expand description
Proc macros for Interoptopus.
Items in here will be re-exported by the main crate.
Attribute Macros§
- ffi_
constant - Enables a
constto appear in generated bindings. - ffi_
function - Enable an
extern "C"function to appear in generated bindings. - ffi_
service - Creates a FFI service from an
impl Service {}block. - ffi_
service_ ctor - Inside a
#[ffi_service]block, mark the FFI constructor. - ffi_
service_ ignore - Inside a
#[ffi_service]block, don’t emit code for a method. - ffi_
service_ method - Inside a
#[ffi_service]block, configure the generated FFI helper. - ffi_
surrogates - On methods and structs, provide a type helper for foreign types.⚠️
- ffi_
type - Enable a
structorenumto appear in generated bindings.