Type Definition lovm2::vm::LoadHookFn[][src]

type LoadHookFn = dyn Fn(&LoadRequest) + 'static;

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.