Function bar_type_from_cstr

Source
#[no_mangle]
pub unsafe extern "C" fn bar_type_from_cstr(
    ptr: *const c_char,
) -> BarType
Expand description

Returns a BarType from a C string pointer.

ยงSafety

Assumes ptr is a valid C string pointer.