On 08/09/14 14:50, Daniel Zaoui wrote: > ReHi, > > On 09/08/14 16:42, Daniel Zaoui wrote: >> Hi, >> >> On 09/08/14 16:16, Jean Rene Dawin wrote: >>> On Sat, Aug 16, 2014 at 02:36:10PM +0900, Carsten Haitzler wrote: >>>> About time i got back to blogging about EFL etc. >>>> >>>> https://phab.enlightenment.org/phame/live/1//post/yet_another_c_object_model_but_better/ >>>> >>> Hi, >>> >>> thanks for the explanations. Trying to reproduce the steps, the result of >>> my tst.c >>> differd a bit, though. I didn't get >>> >>> EOLIAN static void >>> _tst_eo_base_constructor(Eo *obj, Tst_Data *pd) >>> { >>> eo_do_super(obj, TST_CLASS, eo_constructor()); >>> } >>> >>> EOLIAN static void >>> _tst_eo_base_destructor(Eo *obj, Tst_Data *pd) >>> { >>> eo_do_super(obj, TST_CLASS, eo_destructor()); >>> } >>> >>> but instead >>> >>> EOLIAN static void >>> _tst_class_constructor(Eo_Class *klass) >>> { >>> } >>> EOLIAN static void >>> _tst_class_destructor(Eo_Class *klass) >>> { >>> } >>> >>> Is there a more detailed documentation of the Eo-Syntax and API somewhere? >>> Becuase the one on docs.enlightenment.org is not so verbose or maybe >>> outdated. >>> Is this because there will be more changes to Eo and things are not fixed >>> yet? >>> >>> Thanks for your help, >>> >>> Jean Rene Dawin >>> >>> ------------------------------------------------------------------------------ >>> Want excitement? >>> Manually upgrade your production database. >>> When you want reliability, choose Perforce >>> Perforce version control. Predictably reliable. >>> http://pubads.g.doubleclick.net/gampad/clk?id=157508191&iu=/4140/ostg.clktrk >>> _______________________________________________ >>> enlightenment-devel mailing list >>> enlightenment-devel@lists.sourceforge.net >>> https://lists.sourceforge.net/lists/listinfo/enlightenment-devel >>> >> You should try with Base.constructor instead of class.constructor (same >> for the destructor). > > I meant Eo.Base.constructor.
One important thing to mention is that while we try not to, we change the Eolian syntax every now and then. Same goes with some of the class names and hierarchy, so the blog post may not be a 1-1 to what's currently in. -- Tom. ------------------------------------------------------------------------------ Want excitement? Manually upgrade your production database. When you want reliability, choose Perforce Perforce version control. Predictably reliable. http://pubads.g.doubleclick.net/gampad/clk?id=157508191&iu=/4140/ostg.clktrk _______________________________________________ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel