On Sun, 14 Mar 2010 10:20:11 -0300 Gustavo Sverzut Barbieri
<barbi...@profusion.mobi> said:

> On Sun, Mar 14, 2010 at 12:48 AM, Enlightenment SVN
> <no-re...@enlightenment.org> wrote:
> > Log:
> >  fix more runtime wornings... added ELM_ERROR_ABORT! :)
> 
> couldn't/shouldn't you use the EINA_MAGIC or EINA_SAFETY macros and
> then get the same system there as well? I'm thinking about this being
> used in Ecore and Evas as well.
> 
> This is a case for the eina_magic.

eina_magic is not useful - no magic numbers for checking. it's literally
checking types. and types are strings (but that happens to work with a pointer
comparison due to stringshare). and eina_safety macros simply dont output
useful information in the same way - as literally the strings need to be
printed - not the "inline in the code" expression (as one is a dynamic return
from a func). what's there now works well. i don't see a need to do much more
and throw everything into eina for what is a case-specific checking and output.

-- 
------------- Codito, ergo sum - "I code, therefore I am" --------------
The Rasterman (Carsten Haitzler)    ras...@rasterman.com


------------------------------------------------------------------------------
Download Intel&#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel

Reply via email to