efl/src/lib/efl
Yeongjong Lee fba098df38 eo: add move tag to iterator
It is impossible to reuse iterator after `EINA_ITERATOR_FOREACH`(`eina_iterator_next`).

E.g.
```
eina_init();

eina_file_dir_list("/home/", EINA_FALSE, _print_cb, NULL);

it = eina_file_ls("/home/");
EINA_ITERATOR_FOREACH(it, f_name)
  {
     printf("%s\n", f_name);
     eina_stringshare_del(f_name);
  }
EINA_ITERATOR_FOREACH(it, f_name)
  {
     printf("Again %s\n", f_name);
     eina_stringshare_del(f_name);
  }
eina_iterator_free(it);
```
`Agian ...` is never printed.

Therefore, iterator always need `@move` tag to avoid unexpected behavior without
any error message.

Reviewed-by: Marcel Hollerbach <mail@marcel-hollerbach.de>
Differential Revision: https://phab.enlightenment.org/D10719
2019-11-26 15:51:05 +01:00
..
cxx
interfaces eo: add move tag to iterator 2019-11-26 15:51:05 +01:00
.gitignore
Efl.h Efl.Text.Cursor 2019-11-22 17:35:54 +09:00
Efl.hh
Efl_Config.h.in build: fix EFL_VERSION_MICRO define 2019-09-23 10:33:13 -07:00
Efl_MVVM_Common.h efl: Property_Bind should actually tell us if it succeeded or failed by returning an Eina.Error. 2019-03-07 09:58:54 -08:00
meson.build efl: add a factory Eina_Error and rename the file to be more on point with its purpose. 2019-01-09 11:02:10 -08:00