#[unsafe(no_mangle)]pub extern "C" fn ri_lock_error_new( context: *const c_char, is_poisoned: bool, ) -> *mut CRiLockError