Re: [E-devel] Eet struct serialization woes

2009-08-16 Thread Vincent Torri
On Sun, 16 Aug 2009, Carsten Haitzler (The Rasterman) wrote: > On Sun, 16 Aug 2009 01:48:26 -0300 Raphael Kubo da Costa > said: > > fixed in svn. > Committed revision 41810. and don't forget to update ChangeLog ;-) Vincent -

Re: [E-devel] Eet struct serialization woes

2009-08-16 Thread The Rasterman
On Sun, 16 Aug 2009 01:48:26 -0300 Raphael Kubo da Costa said: fixed in svn. Committed revision 41810. > Hi there, > > I've been struggling to properly serialize a struct which only has an > Eina_List of another struct as a member when this member is NULL (ie > the list is empty). > > When t

Re: [E-devel] Eet struct serialization woes

2009-08-15 Thread The Rasterman
On Sun, 16 Aug 2009 01:48:26 -0300 Raphael Kubo da Costa said: argh! cornercase. if the parent struct would have anything else it it other than a single empty list pointer - this would work (an int, - anything). here's the problem. eet looks at the data struct and goes "ooh list! let me encode t

Re: [E-devel] Eet struct serialization woes

2009-08-15 Thread Raphael Kubo da Costa
On Sun, Aug 16, 2009 at 2:01 AM, Carsten Haitzler wrote: > On Sun, 16 Aug 2009 01:48:26 -0300 Raphael Kubo da Costa > said: > > whats the data descriptor for it? i assume you have at least 2 (one for the > base struct with the list, one for the list item struct?) Apparently my attachment wasn't be

Re: [E-devel] Eet struct serialization woes

2009-08-15 Thread The Rasterman
On Sun, 16 Aug 2009 01:48:26 -0300 Raphael Kubo da Costa said: whats the data descriptor for it? i assume you have at least 2 (one for the base struct with the list, one for the list item struct?) > Hi there, > > I've been struggling to properly serialize a struct which only has an > Eina_List

[E-devel] Eet struct serialization woes

2009-08-15 Thread Raphael Kubo da Costa
Hi there, I've been struggling to properly serialize a struct which only has an Eina_List of another struct as a member when this member is NULL (ie the list is empty). When the list is empty, if the Eet file is already present and valid, it simply isn't updated, while if it still doesn't exist i