Function Byond_New

Source
pub unsafe extern "C-unwind" fn Byond_New(
    type_: *const CByondValue,
    arg: *const CByondValue,
    arg_count: usize,
    result: *mut CByondValue,
) -> bool
Expand description

Equivalent to calling new type(…) Blocks if not on the main thread.

§Arguments

  • type - The type to create (type path or string)
  • arg - Array of arguments
  • arg_count - Number of arguments
  • result - Pointer to accept result

§Returns

True on success