On Mon, Dec 8, 2008 at 11:40 AM, Gustavo Sverzut Barbieri <[EMAIL PROTECTED]> wrote: > On Mon, Dec 8, 2008 at 8:18 AM, Enlightenment SVN > <[EMAIL PROTECTED]> wrote: >> Log: >> Application and library using Eina Magic API should be able to decide if >> they >> want to check magic or not. This should not be forced by Eina config. >> >> Author: cedric >> Date: 2008-12-08 02:18:05 -0800 (Mon, 08 Dec 2008) >> New Revision: 38014 >> >> Modified: >> trunk/eina/src/include/eina_magic.h >> >> Modified: trunk/eina/src/include/eina_magic.h > > then we must fix all users of structures to include it, that includes > all eina_inline_*.x, every eina_*.c that uses headers with EINA_MAGIC; > and like, really this is asking for problems.
Well we should put eina_config.h in each header using directly EINA_MAGIC (only accessor and iterator are lacking it right now) and all eina_*.c using EINA_MAGIC should include eina_private.h so this should be safe for eina. And I don't think you can include eina_inline_*.x without their related eina_*.h. So yes, manipulating MAGIC is a little bit tricky, but we need that or we will not be able to move ECORE_MAGIC to EINA_MAGIC. -- Cedric BAIL ------------------------------------------------------------------------------ SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada. The future of the web can't happen without you. Join us at MIX09 to help pave the way to the Next Web now. Learn more and register at http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/ _______________________________________________ enlightenment-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
