pub unsafe extern "C-unwind" fn ByondValue_SetStr(
v: *mut CByondValue,
str_: *const c_char,
)
Expand description
Creates a string and sets CByondValue to a temporary reference to that string. Blocks if not on the main thread. If string creation fails, the struct is set to null.
ยงArguments
v
- Pointer to CByondValuestr
- Null-terminated UTF-8 stringByond_AddGetStrId()