Define new error handling macros
authorlucas <lucas@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>
Fri, 30 Apr 2010 14:54:05 +0000 (14:54 +0000)
committerlucas <lucas@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>
Fri, 30 Apr 2010 14:54:05 +0000 (14:54 +0000)
commit0a215f32c31297c334b96596e3d53573cfa85fab
tree2a2ec15e1cf0bab44da4f4294fd16c0ce05602b5
parent031f571cce8da39ec817cb369967a02ea40a89c6
Define new error handling macros

EINA_SAFETY_ON_TRUE_GOTO and EINA_SAFETY_ON_FALSE_GOTO are now defined
to ease error handling. Functions might need to take actions before
returning upon safety checks fail.

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/eina@48478 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33
src/include/eina_safety_checks.h