hi all, the following patch makes eet support for fixed arrays and
variable arrays:
int array[100]; // fixed
int varray*; // variable
int varray_count;

if you prefer i can commit directly but i prefer if someone can take a
look on it :)
note that this makes an API break on the function
"eet_data_descriptor_element_add" as we need another parameter the
"count_offset" to store/get the number of elements when
decoding/encoding a variable array.

i have also changed the way _decode and _encode function is
implemented, instead of open branches for different types of
group_types it now uses a table, there's still a problem with hashes
and arrays because both aren't accumulative (like a list with
list_add, etc) but iterative, they need the current chunk *and* the
following chunks to decode correctly, so there's still work to do to
clean it up.

ps: i did the diff with "cvs diff -u" hope it is ok =)

Attachment: eet_array.patch
Description: Binary data

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel

Reply via email to