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 __yog_export_get_NAME symbol that a future loader scanner can use to auto-discover exports. For now, the mod must also call registry.interop().export("name", fn_ptr) during register().