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 a new function which dispatches incoming script calls to the corresponding native functions with arguments unpacking and type checking.
Note: unstable, will be improved.