Skip to main content

yog_export

Attribute Macro yog_export 

Source
#[yog_export]
Expand description

Inter-mod communication proc-macros. Marks a function for inter-mod export. Generates a C-ABI wrapper. Auto-registration TBD (ctor/linkme debugging in progress). For now, register manually in Mod::register():

registry.interop().export("fname", __yog_wrap_fname as *const c_void);