Once object is deleted, the subsequent memory belonging to the object will
be removed as well.
You don't need to care about it. Callbacks neither.

On Mon, Nov 25, 2019 at 9:12 PM Jing <chenjing...@126.com> wrote:

> Hi all,
> I have some memory free questions when using below two functions:
>
>
> 1.  EAPI Eina_Bool edje_object_file_set(Evas_Object *obj, const char
> *file, const char *group);
> ---  After this function done,  i will call  evas_object_del (obj) to
> delete the obj,  anything else that i need to free ?  For example, the edj
> file used in this funciton?
>
>
> 2.  evas_object_event_callback_add(Evas_Object *eo_obj, Evas_Callback_Type
> type, Evas_Object_Event_Cb func, const void *data)
> ---- After this function done,  i will call  evas_object_del (obj) to
> delete the obj,   the callback will be auto deleted after evas_object_del
> or  i have to use  evas_object_event_callback_del(Evas_Object *eo_obj,
> Evas_Callback_Type type, Evas_Object_Event_Cb func) to delete ?
>
>
> Thanks.
>
>
> _______________________________________________
> enlightenment-devel mailing list
> enlightenment-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
>


-- 
Regards, Hermet

_______________________________________________
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel

Reply via email to