Expand description
Native-mode runtime: the C-ABI dispatcher the #[export] macro calls into
for MArgument-based functions, plus the #[init] helper.
Types and helpers (NativeFunction, initialize, call_and_catch_panic)
are imported from wolfram-library-link; the dispatcher logic itself is
owned here so the macro emission paths under wolfram_export::macro_utils::*
resolve without going back through wolfram-library-link.
Functions§
- call_
native_ ⚠wolfram_ library_ function - Returned when
wolfram_library_link::initializefails on entry. Returned when the wrapped Rust code panicked. Bridge a native#[export]-marked function across the LibraryLink C ABI. - init_
with_ ⚠user_ function - Bridge an
#[init]-marked function: runsinitializethen the user’s init body inside a panic guard.