summaryrefslogtreecommitdiff
path: root/src/lib/eina_rbtree.c
diff options
context:
space:
mode:
authorDaniel Juyung Seo <seojuyung2@gmail.com>2012-01-10 15:34:48 +0000
committerDaniel Juyung Seo <seojuyung2@gmail.com>2012-01-10 15:34:48 +0000
commitad31f66ea99e78066aec458f71a239b05528d264 (patch)
treec9c2860ea4adb7e09291fad4c9358e8cff925566 /src/lib/eina_rbtree.c
parentb64cb6966a98b8d57b5aa7be0da3baa5beb0817c (diff)
downloadeina-ad31f66ea99e78066aec458f71a239b05528d264.tar.gz
eina: applied eina_array_count_get -> eina_array_count api change.
SVN revision: 67021
Diffstat (limited to 'src/lib/eina_rbtree.c')
-rw-r--r--src/lib/eina_rbtree.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/lib/eina_rbtree.c b/src/lib/eina_rbtree.c
index c0c9f9e..5f1232c 100644
--- a/src/lib/eina_rbtree.c
+++ b/src/lib/eina_rbtree.c
@@ -83,7 +83,7 @@ _eina_rbtree_iterator_list_new(const Eina_Rbtree *tree)
static Eina_Rbtree *
_eina_rbtree_iterator_get_content(Eina_Iterator_Rbtree *it)
{
- if (eina_array_count_get(it->stack) <= 0)
+ if (eina_array_count(it->stack) <= 0)
return NULL;
return eina_array_data_get(it->stack, 0);
@@ -110,10 +110,10 @@ _eina_rbtree_iterator_next(Eina_Iterator_Rbtree *it, void **data)
Eina_Iterator_Rbtree_List *new;
Eina_Rbtree *tree;
- if (eina_array_count_get(it->stack) <= 0)
+ if (eina_array_count(it->stack) <= 0)
return EINA_FALSE;
- last = eina_array_data_get(it->stack, eina_array_count_get(it->stack) - 1);
+ last = eina_array_data_get(it->stack, eina_array_count(it->stack) - 1);
tree = last->tree;
if (!last->tree || last->up == EINA_TRUE)
@@ -128,10 +128,10 @@ _eina_rbtree_iterator_next(Eina_Iterator_Rbtree *it, void **data)
{
free(last);
- if (eina_array_count_get(it->stack) > 0)
+ if (eina_array_count(it->stack) > 0)
{
last = eina_array_data_get(it->stack,
- eina_array_count_get(
+ eina_array_count(
it->
stack)
- 1);