[][src]Macro sciter::dispatch_script_call

macro_rules! dispatch_script_call {
    (
		$(
			fn $name:ident ( $( $argt:ident ),* );
		 )*
	) => { ... };
}

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.