Macro sciter::dispatch_script_call
source · macro_rules! dispatch_script_call {
(
$(
fn $name:ident ( $( $argt:ident ),* );
)*
) => { ... };
}
Expand description
Dispatch script calls to native code. Used in dom::EventHandler
implementations.
This macro generates new function which dispatchs incoming script call to native function with arguments unpacking and type checking.
Note: unstable, will be improved.