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