Macro sciter::make_args
[−]
[src]
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();