Function Byond_GetStrId
Source pub unsafe extern "C-unwind" fn Byond_GetStrId(
str_: *const c_char,
) -> u4c
Expand description
Returns a reference to an existing string ID, but does not create a new string ID.
Blocks if not on the main thread.
§Arguments
str
- Null-terminated string
§Returns
ID of string; NONE if string does not exist