pub unsafe extern "C" fn aws_hash_table_remove(
map: *mut aws_hash_table,
key: *const c_void,
p_value: *mut aws_hash_element,
was_present: *mut c_int
) -> c_int
Expand description
Removes element at key. Always returns AWS_OP_SUCCESS.
If pValue is non-NULL, the existing value (if any) is moved into (*value) before removing from the table, and destroy_fn is not invoked. If pValue is NULL, then (if the element existed) destroy_fn will be invoked on the element being removed.
If was_present is non-NULL, it is set to 0 if the element was not present, or 1 if it was present (and is now removed).