ext/iodine/fiobj_hash.c
/**
 * Removes a key-value pair from the Hash, if it exists.
 */
Removes a key-value pair from the Hash, if it exists.
Removes a key - value pair from the Hash if it exists .
FIOBJ fiobj_hash_remove(FIOBJ hash, FIOBJ key) {
  assert(hash && FIOBJ_TYPE_IS(hash, FIOBJ_T_HASH));
  FIOBJ old = FIOBJ_INVALID;
  fio_hash___remove(&obj2hash(hash)->hash, fiobj_obj2hash(key), key, &old);
  return old;
}
FIOBJ fiobj_hash_remove ( FIOBJ hash , FIOBJ key ) { assert ( hash && FIOBJ_TYPE_IS ( hash , FIOBJ_T_HASH ) ) ; FIOBJ old = FIOBJ_INVALID ; fio_hash___remove ( & obj2hash ( hash ) -> hash , fiobj_obj2hash ( key ) , key , & old ) ; return old ; }
Removes a key-value pair from the Hash, if it exists.
Removes a key - value pair from the Hash if it exists .