[][src]Macro sciter::make_args

macro_rules! make_args {
    () => { ... };
    ( $($s:expr),* ) => { ... };
}

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:

This example is not tested
let value = sciter::Value::new();
let result = value.call(None, &make_args!(1, "2", 3.0), Some(file!())).unwrap();