macro_rules! host_fn {
($vis:vis fn $name:ident($g:ident, $args:ident) $body:block) => { ... };
}Expand description
Defines a panic-shielded JSC host function, in redjs’s host ABI: a panic becomes a thrown JS Error
and poisons the runtime.
macro_rules! host_fn {
($vis:vis fn $name:ident($g:ident, $args:ident) $body:block) => { ... };
}Defines a panic-shielded JSC host function, in redjs’s host ABI: a panic becomes a thrown JS Error
and poisons the runtime.