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:

  1. A static initializer that auto-registers the export (no manual registry.interop().export() needed — export_mod! handles it).
  2. A __yog_export_get_NAME symbol for future loader-side scanning.