librnr/hash.c
void hnode_destroy(hnode_t *node, hnode_data_free_t freedatafun)
{
  if( freedatafun != NULL )
  {
    freedatafun(node->key, node->data);
  }
  delete(node);
}
/*!
 * \brief Hash node and user data deallocator.
 *
 * \param node        Node to deallocate.
 * \param freedatafun User key and data deallocator. May be NULL. 
 */
\brief Hash node and user data deallocator.
\param node        Node to deallocate.
\param freedatafun User key and data deallocator. May be NULL.
\ brief Hash node and user data deallocator . \ param node Node to deallocate . \ param freedatafun User key and data deallocator . May be NULL .
void hnode_destroy(hnode_t *node, hnode_data_free_t freedatafun)
{
  if( freedatafun != NULL )
  {
    freedatafun(node->key, node->data);
  }
  delete(node);
}
void hnode_destroy ( hnode_t * node , hnode_data_free_t freedatafun ) { if ( freedatafun != NULL ) { freedatafun ( node -> key , node -> data ) ; } delete ( node ) ; }
\brief Hash node and user data deallocator.
\ brief Hash node and user data deallocator .