pub type HostFn = fn(ctx: CallContext, heap: &mut Heap) -> JSResult<Interpreted>;
Expand description
What a host function callable from JS looks like.
pub type HostFn = fn(ctx: CallContext, heap: &mut Heap) -> JSResult<Interpreted>;
What a host function callable from JS looks like.