efl/legacy/eina/src
Gustavo Sverzut Barbieri ab95d9183d eina safety checks.
safety checks will report null pointers and other error conditions on
public api's and can be disabled by compile time check.

note that in order to have these checks working we need to make
EINA_ARG_NONNULL() void, otherwise GCC can remove these checks since
they're known to be false.

This commit also make two minor changes:

  * list and hash accessors and iterators are created even for empty
    entities. This is correct in my point of view since NULL should
    indicate error. Having these in were an optimziation, but not
    worth it, these are not the most common case and hitting this path
    is not of much cost.

 * unmarked some parameters as nonnull, mainly on list and inlist.



SVN revision: 38327
2008-12-26 18:31:14 +00:00
..
include eina safety checks. 2008-12-26 18:31:14 +00:00
lib eina safety checks. 2008-12-26 18:31:14 +00:00
modules Add dladdr and env code for eina_module from Vincent Torri. 2008-11-01 15:39:53 +00:00
tests eina gets lots of gcc attributes to its api. 2008-12-26 13:17:51 +00:00
.cvsignore Add .cvsignore. 2008-07-30 13:09:03 +00:00
Makefile.am Patch from Vincent Torri that cleanup tests, coverage and benchmark. 2008-09-29 14:35:28 +00:00