K
Kevin
Hi every one.
I want to use marco '#define' define a function like printf that have
variable arguments, do it possible?
it may be like that, I write a function
foo(int LineNo, char * fmt, ...)
I want define
#define MyFoo(fmt, ...) foo(__LINE__, fmt, ...)
but it can't works.
Any help will be appreciated.
I want to use marco '#define' define a function like printf that have
variable arguments, do it possible?
it may be like that, I write a function
foo(int LineNo, char * fmt, ...)
I want define
#define MyFoo(fmt, ...) foo(__LINE__, fmt, ...)
but it can't works.
Any help will be appreciated.