Skip to main content

hash_remove_entry

Function hash_remove_entry 

Source
pub unsafe fn hash_remove_entry(
    table: *mut HashTable,
    name: *const xmlChar,
    f: Option<xmlHashDeallocator>,
) -> c_int
Expand description

Remove an entry by single key.

§UPSTREAM-PARITY

int xmlHashRemoveEntry(xmlHashTablePtr table, const xmlChar *name,
                       xmlHashDeallocator f);

Returns 0 on success, -1 if not found.

§SAFETY

  • table must be a valid pointer to a HashTable, or NULL.
  • name must be a valid null-terminated string.
  • f may be NULL.