Henrik Hautakoski
|
d64f14af4e
|
rbtree: remove unused arguments from INIT macro.
|
2011-02-01 12:00:07 +01:00 |
|
Henrik Hautakoski
|
b5f0c3117c
|
rbtree: move delete_fn from the structure to argument.
|
2011-02-01 11:51:54 +01:00 |
|
Henrik Hautakoski
|
41a253a00a
|
rbtree.c: moved tree assertion from the test.
|
2011-01-07 10:53:08 +01:00 |
|
Henrik Hautakoski
|
0fba36440c
|
rbtree.c: rbtree_walk: pass rbnode->key instead of rbnode to callback function
|
2011-01-05 09:11:56 +01:00 |
|
Henrik Hautakoski
|
2c54173a52
|
test/t_rbtree.c: properly rewritten.
|
2011-01-03 10:49:11 +01:00 |
|
Henrik Hautakoski
|
3671888b8b
|
rbtree.c: search: return key instead of node.
|
2010-12-27 15:14:20 +01:00 |
|
Henrik Hautakoski
|
027bf154a7
|
rbtree.c: use generic keys.
to make the rbtree more usefull. allow generic keys and user defined compare functions.
|
2010-12-27 10:17:01 +01:00 |
|
Henrik Hautakoski
|
f156e8906c
|
removed debug.h in favor for log.h
|
2010-12-22 14:51:28 +01:00 |
|
Henrik Hautakoski
|
d00fa63900
|
rbtree: changeing design. now using callbacks
|
2010-11-07 09:18:29 +01:00 |
|
Henrik Hautakoski
|
731f19553a
|
rbtree: fixed some memory leaks.
|
2010-11-05 14:09:51 +01:00 |
|
Henrik Hautakoski
|
cfb5e85699
|
moving src/common to src/
|
2010-10-19 13:34:06 +02:00 |
|
Henrik Hautakoski
|
7209cfb1c4
|
common/rbtree: fixed a bug in delete
|
2010-10-22 13:59:15 +02:00 |
|
|
|
9fa5c9eac9
|
unit test api needs to be rewritten. crazy to assert functions with heap allocated memory or "in place"
manipulation.
|
2010-10-19 03:31:55 +02:00 |
|
|
|
f630cbf979
|
some cleanup and extended insertion in rbtree, updated rbtree test
|
2010-10-19 03:31:54 +02:00 |
|
|
|
fdfefe7d55
|
Initial commit
|
2010-10-19 03:31:16 +02:00 |
|