macro_rules! make_args {
() => { ... };
( $($s:expr),* ) => { ... };
}Expand description
Pack arguments into a [Value] array to call Sciter script functions.
Used in Element.call_function(),
Element.call_method(),
Host.call_function(),
Value.call().
§Example:
ⓘ
let value = sciter::Value::new();
let result = value.call(None, &make_args!(1, "2", 3.0), Some(file!())).unwrap();