Skip to main content

Crate yog_interop

Crate yog_interop 

Source
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§

import

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():