Function yrs::ymap_remove[][src]

#[no_mangle]
pub unsafe extern "C" fn ymap_remove(
    map: *const Map,
    txn: *mut Transaction,
    key: *const c_char
) -> c_char
Expand description

Removes a map entry, given its key. Returns 1 if the corresponding entry was successfully removed or 0 if no entry with a provided key has been found inside of a map.

A key must be a null-terminated UTF-8 encoded string.