On Jun 20, 2007, at 11:50 AM, Allison Randal wrote:

I wasn't entirely happy with either option, so I asked around a bit for other ideas. I like the macro approach below, it gives us both self documentation and better checking for the size of the two structs.

I guess I don't see the need to document a standard C behavior with a macro. We don't have

  #define inc(x) (x)++

do we?

xoxo,
Andy

--
Andy Lester => [EMAIL PROTECTED] => www.petdance.com => AIM:petdance




Reply via email to