summaryrefslogtreecommitdiff
path: root/src/core/wee-hashtable.h
AgeCommit message (Collapse)Author
2015-01-01core: update copyright datesSébastien Helleu
2014-08-11core: callback_free_key shouldn't point to already free'd valueAndrew Potter
2014-08-02core: fix result of hash function (in hashtables) on 32-bit systemsSébastien Helleu
2014-03-19core: fix use of reserved C identifiers in headers (closes #31)Sebastien Helleu
2014-01-01core: update copyright datesSebastien Helleu
2013-08-10core: change type of hashtable key hash to unsigned long, return item ↵Sebastien Helleu
pointer in functions hashtable_set(_with_size) The key hash has been changed from unsigned int to unsigned long, and now the callback can return any value (not only between 0 and size-1), the modulo is computed after the call to the callback by the hashtable functions. Functions hashtable_set and hashtable_set_with_size were returning 1 if OK, 0 if error. Now they return pointer to hashtable item, or NULL if error.
2013-08-09core: add "callback_free_key" in hashtableSebastien Helleu
2013-01-26core: use default hash/comparison callback for keys of type ↵Sebastien Helleu
integer/pointer/time in hashtable
2013-01-01core: update copyright datesSebastien Helleu
2012-01-08core: update copyright datesSebastien Helleu
2011-12-19core: add type "hashtable" for hdata, new api functions: hdata_hashtable and ↵Sebastien Helleu
hashtable_map_string
2011-10-26core: remove unneeded whitespaceSebastien Helleu
2011-08-13core: add function hashtable_dup (duplicate a hashtable)Sebastien Helleu
2011-01-02Add function "hashtable_set_pointer" in plugin APISebastien Helleu
2011-01-01Update copyright datesSebastien Helleu
2010-10-17Use const void * for keys and values in some hashtable functionsSebastien Helleu
2010-10-15Add properties "values" and "keys_values" for hashtable_get_string (return ↵Sebastien Helleu
string with list of values or keys/values)
2010-10-11Add function "hashtable_has_key" in WeeChat and plugin APISebastien Helleu
2010-10-10Add property "keys" for hashtable_get_string (return string with list of keys)Sebastien Helleu
2010-08-27Add new functions in plugin API (hashtable_get_string, hook_info_hashtable, ↵Sebastien Helleu
info_get_hashtable), add IRC info_hashtable "irc_parse_message" Note: tcl >= 8.5 is now required (for tcl plugin).
2010-07-19Remove unneeded spaces and tabsSebastien Helleu
2010-07-05Use of hashtable for local variables of buffersSebastien Helleu
2010-06-28Add hashtable in core and plugin APISebastien Helleu