2016-06-23 10:53:46 -07:00
|
|
|
// Internal header are to be used only inside efl itself.
|
|
|
|
#ifndef _ECORE_INTERNAL_H
|
|
|
|
#define _ECORE_INTERNAL_H
|
|
|
|
|
|
|
|
#ifdef EAPI
|
|
|
|
# undef EAPI
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#ifdef _WIN32
|
2018-01-18 01:04:03 -08:00
|
|
|
# ifdef EFL_BUILD
|
2016-06-23 10:53:46 -07:00
|
|
|
# ifdef DLL_EXPORT
|
|
|
|
# define EAPI __declspec(dllexport)
|
|
|
|
# else
|
|
|
|
# define EAPI
|
2018-01-18 01:04:03 -08:00
|
|
|
# endif
|
2016-06-23 10:53:46 -07:00
|
|
|
# else
|
|
|
|
# define EAPI __declspec(dllimport)
|
2018-01-18 01:04:03 -08:00
|
|
|
# endif
|
2016-06-23 10:53:46 -07:00
|
|
|
#else
|
|
|
|
# ifdef __GNUC__
|
|
|
|
# if __GNUC__ >= 4
|
|
|
|
# define EAPI __attribute__ ((visibility("default")))
|
|
|
|
# else
|
|
|
|
# define EAPI
|
|
|
|
# endif
|
|
|
|
# else
|
|
|
|
# define EAPI
|
|
|
|
# endif
|
2018-01-18 01:04:03 -08:00
|
|
|
#endif
|
2016-06-23 10:53:46 -07:00
|
|
|
|
|
|
|
EAPI void ecore_loop_arguments_send(int argc, const char **argv);
|
2018-02-02 14:50:54 -08:00
|
|
|
EAPI Eina_Bool efl_loop_message_process(Eo *obj);
|
2016-06-23 10:53:46 -07:00
|
|
|
|
2017-12-20 14:19:56 -08:00
|
|
|
static inline Eina_Value
|
|
|
|
efl_model_list_value_get(Eina_List *childrens,
|
|
|
|
unsigned int start,
|
|
|
|
unsigned int count)
|
|
|
|
{
|
|
|
|
Eina_Value v = EINA_VALUE_EMPTY;
|
|
|
|
Eina_List *l;
|
|
|
|
Eo *child;
|
|
|
|
|
|
|
|
eina_value_array_setup(&v, EINA_VALUE_TYPE_OBJECT, eina_list_count(childrens));
|
|
|
|
|
|
|
|
EINA_LIST_FOREACH(childrens, l, child)
|
|
|
|
{
|
|
|
|
if (start != 0)
|
|
|
|
{
|
|
|
|
start--;
|
|
|
|
continue;
|
|
|
|
}
|
|
|
|
if (count == 0)
|
|
|
|
continue;
|
|
|
|
count--;
|
|
|
|
|
|
|
|
eina_value_array_append(&v, child);
|
|
|
|
}
|
|
|
|
|
|
|
|
return v;
|
|
|
|
}
|
|
|
|
|
2016-06-23 10:53:46 -07:00
|
|
|
#undef EAPI
|
|
|
|
#define EAPI
|
|
|
|
|
|
|
|
#endif
|