On Thu, 29 Mar 2012 14:50:28 +0200 Vincent Torri <vincent.to...@gmail.com> wrote:
> On Thu, Mar 29, 2012 at 1:18 PM, Enlightenment SVN > <no-re...@enlightenment.org> wrote: > > Log: > > Added a new macro for adding variable arrays of basic types. > > EET_DATA_DESCRIPTOR_ADD_BASIC_VAR_ARRAY > > > > > > > > Author: onefang > > Date: 2012-03-29 04:18:52 -0700 (Thu, 29 Mar 2012) > > New Revision: 69745 > > Trac: http://trac.enlightenment.org/e/changeset/69745 > > > > Modified: > > trunk/eet/ChangeLog trunk/eet/NEWS trunk/eet/src/lib/Eet.h > > > > Modified: trunk/eet/ChangeLog > > =================================================================== > > --- trunk/eet/ChangeLog 2012-03-29 11:09:45 UTC (rev 69744) > > +++ trunk/eet/ChangeLog 2012-03-29 11:18:52 UTC (rev 69745) > > @@ -573,3 +573,9 @@ > > > > * add eet_dictionary_count. > > * add "eet -t FILE.EET". > > + > > +2012-03-29 David Seikel (onefang) > > + > > + * Added a new macro for adding variable arrays of basic > > types. > > + EET_DATA_DESCRIPTOR_ADD_BASIC_VAR_ARRAY > > + > > > > Modified: trunk/eet/NEWS > > =================================================================== > > --- trunk/eet/NEWS 2012-03-29 11:09:45 UTC (rev 69744) > > +++ trunk/eet/NEWS 2012-03-29 11:18:52 UTC (rev 69745) > > @@ -29,6 +29,7 @@ > > * eet_alias_get API > > * eet_data_xattr_cipher_get and eet_data_xattr_cipher_set APIs > > * EET_DATA_DESCRIPTOR_ADD_BASIC_ARRAY API > > + * EET_DATA_DESCRIPTOR_ADD_BASIC_VAR_ARRAY API > > > > Fixes: > > > > > > Modified: trunk/eet/src/lib/Eet.h > > =================================================================== > > --- trunk/eet/src/lib/Eet.h 2012-03-29 11:09:45 UTC (rev 69744) > > +++ trunk/eet/src/lib/Eet.h 2012-03-29 11:18:52 UTC (rev 69745) > > @@ -3157,6 +3157,38 @@ > > } while(0) > > > > /** > > + * Add a variable array of basic data elements to a data > > descriptor. > > + * @param edd The data descriptor to add the type to. > > + * @param struct_type The type of the struct. > > + * @param name The string name to use to encode/decode this member > > + * (must be a constant global and never change). > > + * @param member The struct member itself to be encoded. > > + * @param type The type of the member to encode. > > + * > > + * This macro lets you easily add a variable size array of basic > > data > > + * types. All the parameters are the same as for > > + * EET_DATA_DESCRIPTOR_ADD_BASIC(). This assumes you have > > + * a struct member (of type EET_T_INT) called member_count (note > > the > > + * _count appended to the member) that holds the number of items in > > + * the array. This array will be allocated separately to the > > struct it > > + * is in. > > + * > > + * @since 1.5.0 > > 1.6, not 1.5 I even asked what it should be. lol -- A big old stinking pile of genius that no one wants coz there are too many silver coated monkeys in the world.
signature.asc
Description: PGP signature
------------------------------------------------------------------------------ This SF email is sponsosred by: Try Windows Azure free for 90 days Click Here http://p.sf.net/sfu/sfd2d-msazure
_______________________________________________ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel