Function librocksdb_sys::rocksdb_comparator_create
source · pub unsafe extern "C" fn rocksdb_comparator_create(
state: *mut c_void,
destructor: Option<unsafe extern "C" fn(arg1: *mut c_void)>,
compare: Option<unsafe extern "C" fn(arg1: *mut c_void, a: *const c_char, alen: usize, b: *const c_char, blen: usize) -> c_int>,
name: Option<unsafe extern "C" fn(arg1: *mut c_void) -> *const c_char>
) -> *mut rocksdb_comparator_t