Crate interoptopus_proc

Source
Expand description

Proc macros for Interoptopus.

Items in here will be re-exported by the main crate.

Attribute Macros§

ffi_constant
Enables a const to 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 struct or enum to appear in generated bindings.