*
* @see edje_object_file_set
*/
-#define edje_obj_file_set(file, group, nested, ret) EDJE_OBJ_ID(EDJE_OBJ_SUB_ID_FILE_SET), EO_TYPECHECK(const char*, file), EO_TYPECHECK(const char *, group), EO_TYPECHECK(Eina_Array *, nested), EO_TYPECHECK(Eina_Bool *, ret)
+#define edje_obj_file_set(file, group, ret) EDJE_OBJ_ID(EDJE_OBJ_SUB_ID_FILE_SET), EO_TYPECHECK(const char*, file), EO_TYPECHECK(const char *, group), EO_TYPECHECK(Eina_Bool *, ret)
/**
* @def edje_obj_file_get
{
const char *file = va_arg(*list, const char *);
const char *group= va_arg(*list, const char *);
- Eina_Array *nested = va_arg(*list, Eina_Array *);
Eina_Bool *ret = va_arg(*list, Eina_Bool *);
Edje_Edit *eed = _pd;
Eet_File *ef;
* groups).
*/
Eina_Bool int_ret = EINA_FALSE;
- eo_do_super(obj, edje_obj_file_set(file, group, nested, &int_ret));
+ eo_do_super(obj, edje_obj_file_set(file, group, &int_ret));
if (!int_ret)
return;
{
if (!obj) return EINA_FALSE;
Eina_Bool ret = EINA_FALSE;
- Eina_Array *nested;
-
- nested = eina_array_new(8);
- eo_do(obj, edje_obj_file_set(file, group, nested, &ret));
- eina_array_free(nested);
- nested = NULL;
+ eo_do(obj, edje_obj_file_set(file, group, &ret));
_edje_object_orientation_inform(obj);
return ret;
}
{
const char *file = va_arg(*list, const char *);
const char *group = va_arg(*list, const char *);
- Eina_Array *nested = va_arg(*list, Eina_Array *);
Eina_Bool *ret = va_arg(*list, Eina_Bool *);
+ Eina_Array *nested;
if (ret) *ret = EINA_FALSE;
+
+ nested = eina_array_new(8);
if (_edje_object_file_set_internal(obj, file, group, NULL, NULL, nested))
- if (ret) *ret = EINA_TRUE;
+ if (ret) *ret = EINA_TRUE;
+ eina_array_free(nested);
}
static void