On 29/01/12 16:55, Gustavo Sverzut Barbieri wrote: > you can pass 0 for size, then it will look for the sentinel. Size is > faster, but some users may be lazy and use the sentinel.
Sounds awful. In 99.99% of the cases, the array will be implemented as a static const variable and therefore it's easier to just get the size of the array using a macro. You don't want to encourage people to do the wrong thing... Don't you agree? Anyhow, I'll create the per line macro in a sec. -- Tom. ------------------------------------------------------------------------------ Try before you buy = See our experts in action! The most comprehensive online learning library for Microsoft developers is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3, Metro Style Apps, more. Free future releases when you subscribe now! http://p.sf.net/sfu/learndevnow-dev2 _______________________________________________ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel