Re: [GD-Windows] variadic macros
Brought to you by:
vexxed72
From: Brett B. <res...@ga...> - 2004-12-21 10:26:41
|
> Paul Bleisch wrote: > Depending on what you're after, you might find that the __noop > intrinsic will help you out. > That's new, thanks. I don't think I can use it still though as I need to insert some parameters before calling the debug function. This is what we have on other platforms: #define MPE_SHELL_ERROR_LOG(...) \ MpiShellLogTextAdd(__FILE__, \ (MpeChar *)__func__, \ __LINE__, \ MPE_SHELL_LOG_FLAG_ERROR, \ __VA_ARGS__) I want to insert the file, func and line number. (BTW, does windows allow __func__ ?) Thanks again, Brett |