Commit Graph

13 Commits

Author SHA1 Message Date
dfc1e83f7c added missing basic functions to ase_str_t 2008-09-25 02:06:56 +00:00
a88cc05eae fixed various bugs in a map and enhanced it.
- added ase_strbytes returning the number of bytes of a '\0'-terminated string
 - changed the prototype of ase_map_walker_t to return ase_map_walk_t 
 - added ASE_MAP_KCLEN and ASE_MAP_VCLEN
 - fixed the bug of not initializing the bucket in ase_map_init
 - fixed the bug of returning 0 when a match is found in ase_map_search
 - fixed the bug of wrongly calculating the value pointer in alloc_pair
2008-09-25 01:18:50 +00:00
21c331febf added to ase_map_t a keeper function that is called when a value is replace by itself. deprecated the generic ase_sizer_t and defined context-specific sizer types such as ase_str_sizer_t and ase_map_sizer_t 2008-09-24 08:47:23 +00:00
2fbbff8139 added the sizer function to ase_map_t 2008-09-24 05:27:24 +00:00
2230fbd445 renamed ASE_STR_XXX macros and added the ase_xstr_t type 2008-09-24 03:51:24 +00:00
b6e14c7be3 added the hint parameter to the sizer function 2008-09-23 05:21:08 +00:00
f90fffc853 2008-09-05 04:58:08 +00:00
fd2eb3f012 2008-09-01 05:17:01 +00:00
ae2f49f1a1 removed ase_str_forfeit() and added ase_str_yield() 2008-09-01 04:55:59 +00:00
dd00a6f49d added ase_str_init(), ase_str_fini(), ase_map_init() and ase_map_fini() to support static creation. 2008-08-30 08:51:04 +00:00
3cbefaa12c 2008-08-19 05:21:48 +00:00
6eead095a5 2008-06-10 00:24:10 +00:00
5786cae59c 2008-06-04 02:17:42 +00:00