Function Byond_AddGetStrId
Source pub unsafe extern "C-unwind" fn Byond_AddGetStrId(
str_: *const c_char,
) -> u4c
Expand description
Returns a reference to an existing string ID or creates a new string ID with a temporary reference.
Blocks if not on the main thread.
§Arguments
str
- Null-terminated string
§Returns
ID of string; NONE if string creation failed