Attribute Macro interoptopus_proc::ffi_constant [−][src]
#[ffi_constant]
Expand description
Enable an const
to appear in generated bindings.
Example
use interoptopus::ffi_constant; #[ffi_constant] const MY_CONST: u32 = 314;
#[ffi_constant]
Enable an const
to appear in generated bindings.
use interoptopus::ffi_constant; #[ffi_constant] const MY_CONST: u32 = 314;