API BREAK: fix Eina API so that it is more consistent with the other EFL
authorcaro <caro>
Wed, 24 Jun 2009 16:56:49 +0000 (16:56 +0000)
committercaro <caro@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>
Wed, 24 Jun 2009 16:56:49 +0000 (16:56 +0000)
commitad9da9237079ce74405a5347737e988e8ad08719
tree4d73ea4ce25e8f1ed1132dc57afa11d0326fc8ae
parent0048f36e53ff9b5db310d66ca891aafebfca5ce8
API BREAK: fix Eina API so that it is more consistent with the other EFL

what is modified:

eina_counter_add -> eina_counter_new
eina_counter_delete -> eina_counter_free
eina_lalloc_delete -> eina_lalloc_free
eina_mempool_new -> eina_mempool_add
eina_mempool_delete -> eina_mempool_del
eina_mempool_alloc -> eina_mempool_malloc
eina_tiler_del -> eina_tiler_free

It remains some questions: have the following API a good name:

eina_module_list_delete
eina_list_free
eina_rbtree_delete

(see ticket #286)

If you find any problem, please report in that thread

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/eina@41187 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33
19 files changed:
src/include/eina_counter.h
src/include/eina_inline_mempool.x
src/include/eina_lalloc.h
src/include/eina_mempool.h
src/include/eina_module.h
src/include/eina_tiler.h
src/lib/eina_benchmark.c
src/lib/eina_counter.c
src/lib/eina_lalloc.c
src/lib/eina_list.c
src/lib/eina_mempool.c
src/lib/eina_module.c
src/lib/eina_rectangle.c
src/lib/eina_tiler.c
src/tests/eina_bench_mempool.c
src/tests/eina_bench_stringshare_e17.c
src/tests/eina_test_counter.c
src/tests/eina_test_lalloc.c
src/tests/eina_test_mempool.c