Function ByondValue_SetRef

Source
pub unsafe extern "C-unwind" fn ByondValue_SetRef(
    v: *mut CByondValue,
    type_: ByondValueType,
    ref_: u4c,
)
Expand description

Fills a CByondValue struct with a reference (object) type. Does not validate.

ยงArguments

  • v - Pointer to CByondValue
  • type - 1-byte teference type
  • ref - 4-byte reference ID; for most types, an ID of NONE is invalid Byond_TestRef()