Ah, thanks guys! That works great :)

--Graham


On 02/11/2012, at 1:46 PM, Gwynne Raskind <gwy...@darkrainfall.org> wrote:

> #if LOGGING
> #define GCLOGOC(format, ...) GCLogObjCMethod(self, _cmd, __LINE__, 
> NSStringFromClass([self class]), format, ## __VA_ARGS__)
> #else
> #define GCLOGOC(format, ...)
> #endif
> 
> -- Gwynne Raskind
> 


> Look up __VA_ARGS__. I think you can build what you want that way.
> 
> 
> -- 
> Greg Parker     gpar...@apple.com     Runtime Wrangler
_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to