pub unsafe extern "C-unwind" fn Byond_CallProc(
src: *const CByondValue,
name: *const c_char,
arg: *const CByondValue,
arg_count: usize,
result: *mut CByondValue,
) -> bool
Expand description
Calls an object 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
src
- The object that owns the procname
- Proc name as null-terminated stringarg
- Array of argumentsarg_count
- Number of argumentsresult
- Pointer to accept result
§Returns
True on success