#[no_mangle] pub unsafe extern "C" fn component_state_from_cstr( ptr: *const c_char, ) -> ComponentState
Returns an enum from a Python string.
ptr