Macro rrplug::call_sq_function
source · macro_rules! call_sq_function { ($sqvm:expr, $sqfunctions:expr, $function_name:expr, $( $arg:expr ),* ) => { ... }; }
Expand description
“safely” calls any function defined on the sqvm
this should only be called on the tf2 thread aka when concommands, convars, sqfunctions, runframe
macro version of call_sq_function, used to call a function with args
returns Result<(), CallError>