venue_code_exists

Function venue_code_exists 

Source
#[unsafe(no_mangle)]
pub unsafe extern "C" fn venue_code_exists( code_ptr: *const c_char, ) -> u8
Expand description

Checks if a venue code exists in the internal map.

§Safety

Assumes code_ptr is a valid NUL-terminated UTF-8 C string pointer.

§Panics

Panics if the internal mutex VENUE_MAP is poisoned.