Cedric BAIL
550ebc9ab1
Add hash and rbtree delete callback, cleanup the code and improve performance (hash as a new internal structure).
...
We still need a hash function for removing a node from the hash and destroying it at the same time.
SVN revision: 36222
2008-09-24 17:14:29 +00:00
Cedric BAIL
44c684bd36
Remove warning due to Inlist API change.
...
SVN revision: 36098
2008-09-19 12:40:18 +00:00
Cedric BAIL
1b9d254f52
In fact the node should never be NULL or something is really going wrong.
...
SVN revision: 35732
2008-08-29 13:50:25 +00:00
Cedric BAIL
3e562ccfc2
Add a context to the callback.
...
SVN revision: 35719
2008-08-28 16:33:40 +00:00
Cedric BAIL
394c787dde
Add Red Black tree API. Right now only insertion, lookup and iterator work.
...
The current implementation choose to move the node allocation outside of eina
control like eina_inlist. They currently have the same memory footprint as
eina_inlist and the implementation of insertion and lookup are iterative
making it quite fast. This should make them a good competitor of eina_inlist
for eina_hash and eina_stringshare.
SVN revision: 35689
2008-08-27 10:07:12 +00:00
Cedric BAIL
4390a37a70
Add eina_array_pop and rename eina_array_append by eina_array_push.
...
SVN revision: 35679
2008-08-26 10:23:45 +00:00
Cedric BAIL
911cd4deda
Add iterator/accessor to eina list.
...
Change list size type to unsigned int.
SVN revision: 35454
2008-08-13 09:19:34 +00:00
Cedric BAIL
d299b79375
Add Inlist Iterator.
...
SVN revision: 35445
2008-08-12 15:58:41 +00:00
Cedric BAIL
a46c20d137
Easier API and follow gustavo's remark.
...
SVN revision: 35440
2008-08-11 17:22:36 +00:00
Cedric BAIL
43cc2dca6f
Add first try for an accessor and iterator API, comment welcome (lack inlist and list currently).
...
Rewrite EINA_ARRAY_ITER_NEXT, still fast, need one more parameter, but no more EINA_ARRAY_ITER_END.
SVN revision: 35438
2008-08-11 16:30:16 +00:00