Function venue_from_cstr_code
Source #[no_mangle]
pub unsafe extern "C" fn venue_from_cstr_code(
code_ptr: *const c_char,
) -> Venue
Expand description
Converts a UTF-8 C string pointer to a Venue
.
§Safety
Assumes code_ptr
is a valid NUL-terminated UTF-8 C string pointer.
§Panics
Panics if the code is not found or invalid (unwrap on from_code
).