Type Definition lovm2_core::vm::LoadHookFn [−][src]
type LoadHookFn = dyn Fn(&LoadRequest) -> Lovm2Result<Option<Module>>;
Virtual machine for executing modules
Call convention is pascal style. If you have a function like f(a, b, c)
it will be translated
to
ⓘ
push a push b push c call f, 3
... and the function has to do the popping in reverse
ⓘ
pop c pop b pop a
Function signature for module loading callback.