Re: [E-devel] usage of void *event_info in Elm GenList example

2010-07-20 Thread Andreas Volz
Am Mon, 12 Jul 2010 21:57:35 +0200 schrieb Andreas Volz: No reason? Or does simply no one know? Should I fix it to use the data pointer? regards Andreas Hello, while porting the Elm GenList to C++ I found this code in test_genlist.c: static void gl4_exp(void *data, Evas_Object

Re: [E-devel] usage of void *event_info in Elm GenList example

2010-07-20 Thread Sachiel
On Tue, Jul 20, 2010 at 2:35 PM, Andreas Volz li...@brachttal.net wrote: Am Mon, 12 Jul 2010 21:57:35 +0200 schrieb Andreas Volz: No reason? Or does simply no one know? Should I fix it to use the data pointer? No, it should not use the data pointer. The data pointer is for user specific data

Re: [E-devel] usage of void *event_info in Elm GenList example

2010-07-20 Thread Andreas Volz
Am Tue, 20 Jul 2010 14:46:16 -0300 schrieb Iván Briano (Sachiel): On Tue, Jul 20, 2010 at 2:35 PM, Andreas Volz li...@brachttal.net wrote: Am Mon, 12 Jul 2010 21:57:35 +0200 schrieb Andreas Volz: No reason? Or does simply no one know? Should I fix it to use the data pointer? No, it

Re: [E-devel] usage of void *event_info in Elm GenList example

2010-07-20 Thread Sachiel
On Tue, Jul 20, 2010 at 4:39 PM, Andreas Volz li...@brachttal.net wrote: Am Tue, 20 Jul 2010 14:46:16 -0300 schrieb Iván Briano (Sachiel): On Tue, Jul 20, 2010 at 2:35 PM, Andreas Volz li...@brachttal.net wrote: Am Mon, 12 Jul 2010 21:57:35 +0200 schrieb Andreas Volz: No reason? Or does

[E-devel] usage of void *event_info in Elm GenList example

2010-07-12 Thread Andreas Volz
Hello, while porting the Elm GenList to C++ I found this code in test_genlist.c: static void gl4_exp(void *data, Evas_Object *obj, void *event_info) { Elm_Genlist_Item *it = event_info; Evas_Object *gl = elm_genlist_item_genlist_get(it); int val = (int)elm_genlist_item_data_get(it);