pub unsafe extern "C-unwind" fn Byond_CallGlobalProc(
name: *const c_char,
arg: *const CByondValue,
arg_count: usize,
result: *mut CByondValue,
) -> bool
Expand description
Calls a global proc by name. The proc call is treated as waitfor=0 and will return immediately on sleep. Blocks if not on the main thread.
§Arguments
name
- Proc name as null-terminated stringarg
- Array of argumentsarg_count
- Number of argumentsresult
- Pointer to accept result
§Returns
True on success