On Sun, Jan 29, 2012 at 12:20 PM, Tom Hacohen <tom.haco...@partner.samsung.com> wrote: > On 29/01/12 16:15, Gustavo Sverzut Barbieri wrote: >> >> ooops! Forgot, we should make it a macro. Could you do it? Out of >> hacking computer until Monday afternoon. > > > Make a macro out of what? The get array size? I've been wanting to add that > to Eina for ages now... Or are you talking about something else?
that and also the member description, doing the offsetof() internally. I always add the sentinel macro as well. Just document that if you use the sentinel, the array size (if >0) should NOT include the sentinel! -- Gustavo Sverzut Barbieri http://profusion.mobi embedded systems -------------------------------------- MSN: barbi...@gmail.com Skype: gsbarbieri Mobile: +55 (19) 9225-2202 ------------------------------------------------------------------------------ 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