Expand description
Proc-macros for Yog inter-mod communication.
#[yog_export] on fn: generates C-ABI wrapper. Register manually:
ⓘ
registry.interop().export("fname", __yog_wrap_fname as *const c_void);import! macro: generates Rust wrapper + binding slot.
Macros§
Attribute Macros§
- yog_
export - 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():