Revert "eo: replace composite_objects Eina_List with an array of Eo_Object*"
authorTom Hacohen <tom@stosb.com>
Fri, 13 Jun 2014 17:09:56 +0000 (18:09 +0100)
committerTom Hacohen <tom@stosb.com>
Fri, 13 Jun 2014 17:20:24 +0000 (18:20 +0100)
commit46b3643ff0b4071106bfd8dce975ae0e44200778
tree7b5f70b5bb6f5cafbbef431eecf81f2e998864e5
parent6d62dab6ab52b99b386be2cb7ed3ad523019cdc6
Revert "eo: replace composite_objects Eina_List with an array of Eo_Object*"

Comp objects are rare, and since we allow using classes as interfaces,
we end up allocating a lot of memory for something we don't even use.
That's why it was a linked list in the first place, and that's why it
should remain a list.

This is almost a complete revert. I reverted the code itself, and the
intent (use of array instead of list), but not the tests, or the new
return value added to comp_detach, which is useful.

This reverts commit ef09ef748924c22074e70b97ebc7726fca1513ec.
src/lib/eo/Eo.h
src/lib/eo/eo.c
src/lib/eo/eo_private.h