Lines Matching refs:del_fn
90 HASH_DEL_FN(*del_fn); /* Application-provided 'app_data' destructor */
95 void (*fn)(void), void *data, SYM_DEL_FN(*del_fn));
207 * del_fn() HASH_DEL_FN(*) If you want app_data to be free'd when the
214 void *app_data, HASH_DEL_FN(*del_fn))
256 hash->del_fn = del_fn;
301 if(hash->del_fn)
302 hash->del_fn(hash->app_data);
330 * del_fn SYM_DEL_FN(*) An optional destructor function. When the
341 void (*fn)(void), void *data, SYM_DEL_FN(*del_fn))
365 if(node->symbol.data && node->symbol.del_fn) {
366 node->symbol.data = node->symbol.del_fn(hash->app_data, node->symbol.code,
373 node = _new_HashNode(hash, name, code, fn, data, del_fn);
474 * del_fn SYM_DEL_FN(*) An optional 'data' destructor function.
479 void (*fn)(void), void *data, SYM_DEL_FN(*del_fn))
498 node->symbol.del_fn = del_fn;
543 if(node->symbol.data && node->symbol.del_fn)
544 node->symbol.data = node->symbol.del_fn(hash->app_data,