forked from enlightenment/efl
eio: fix example to use the new EINA_VALUE_ARRAY_FOREACH.
This commit is contained in:
parent
7712f04070
commit
ff0f0109d5
|
@ -39,7 +39,7 @@ _open_cb(void *data, const Eina_Value array, const Eina_Future *dead EINA_UNUSED
|
||||||
Eina_Value v = EINA_VALUE_EMPTY;
|
Eina_Value v = EINA_VALUE_EMPTY;
|
||||||
Eina_Future *futures[eina_value_array_count(&array) + 1];
|
Eina_Future *futures[eina_value_array_count(&array) + 1];
|
||||||
|
|
||||||
EINA_VALUE_ARRAY_FOREACH(&array, len, i, &v)
|
EINA_VALUE_ARRAY_FOREACH(&array, len, i, v)
|
||||||
{
|
{
|
||||||
if (v.type == EINA_VALUE_TYPE_ERROR)
|
if (v.type == EINA_VALUE_TYPE_ERROR)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue