diff options
author | David Walter Seikel | 2012-01-23 23:30:42 +1000 |
---|---|---|
committer | David Walter Seikel | 2012-01-23 23:30:42 +1000 |
commit | 825a3d837a33f226c879cd02ad15c3fba57e8b2c (patch) | |
tree | 75f57bd9c4253508d338dc79ba8e57a7abc42255 /libraries/eina/src/lib/eina_rbtree.c | |
parent | Add ability to disable the test harness, or the Lua compile test. (diff) | |
download | SledjHamr-825a3d837a33f226c879cd02ad15c3fba57e8b2c.zip SledjHamr-825a3d837a33f226c879cd02ad15c3fba57e8b2c.tar.gz SledjHamr-825a3d837a33f226c879cd02ad15c3fba57e8b2c.tar.bz2 SledjHamr-825a3d837a33f226c879cd02ad15c3fba57e8b2c.tar.xz |
Update the EFL to what I'm actually using, coz I'm using some stuff not yet released.
Diffstat (limited to 'libraries/eina/src/lib/eina_rbtree.c')
-rw-r--r-- | libraries/eina/src/lib/eina_rbtree.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/libraries/eina/src/lib/eina_rbtree.c b/libraries/eina/src/lib/eina_rbtree.c index c0c9f9e..5f1232c 100644 --- a/libraries/eina/src/lib/eina_rbtree.c +++ b/libraries/eina/src/lib/eina_rbtree.c | |||
@@ -83,7 +83,7 @@ _eina_rbtree_iterator_list_new(const Eina_Rbtree *tree) | |||
83 | static Eina_Rbtree * | 83 | static Eina_Rbtree * |
84 | _eina_rbtree_iterator_get_content(Eina_Iterator_Rbtree *it) | 84 | _eina_rbtree_iterator_get_content(Eina_Iterator_Rbtree *it) |
85 | { | 85 | { |
86 | if (eina_array_count_get(it->stack) <= 0) | 86 | if (eina_array_count(it->stack) <= 0) |
87 | return NULL; | 87 | return NULL; |
88 | 88 | ||
89 | return eina_array_data_get(it->stack, 0); | 89 | return eina_array_data_get(it->stack, 0); |
@@ -110,10 +110,10 @@ _eina_rbtree_iterator_next(Eina_Iterator_Rbtree *it, void **data) | |||
110 | Eina_Iterator_Rbtree_List *new; | 110 | Eina_Iterator_Rbtree_List *new; |
111 | Eina_Rbtree *tree; | 111 | Eina_Rbtree *tree; |
112 | 112 | ||
113 | if (eina_array_count_get(it->stack) <= 0) | 113 | if (eina_array_count(it->stack) <= 0) |
114 | return EINA_FALSE; | 114 | return EINA_FALSE; |
115 | 115 | ||
116 | last = eina_array_data_get(it->stack, eina_array_count_get(it->stack) - 1); | 116 | last = eina_array_data_get(it->stack, eina_array_count(it->stack) - 1); |
117 | tree = last->tree; | 117 | tree = last->tree; |
118 | 118 | ||
119 | if (!last->tree || last->up == EINA_TRUE) | 119 | if (!last->tree || last->up == EINA_TRUE) |
@@ -128,10 +128,10 @@ _eina_rbtree_iterator_next(Eina_Iterator_Rbtree *it, void **data) | |||
128 | { | 128 | { |
129 | free(last); | 129 | free(last); |
130 | 130 | ||
131 | if (eina_array_count_get(it->stack) > 0) | 131 | if (eina_array_count(it->stack) > 0) |
132 | { | 132 | { |
133 | last = eina_array_data_get(it->stack, | 133 | last = eina_array_data_get(it->stack, |
134 | eina_array_count_get( | 134 | eina_array_count( |
135 | it-> | 135 | it-> |
136 | stack) | 136 | stack) |
137 | - 1); | 137 | - 1); |