RE: [GD-General] Clean way of generalizing CDECL
Brought to you by:
vexxed72
From: Brian H. <ho...@bo...> - 2004-07-07 21:53:55
|
> Why not: > > #define foo(T,N, ...) T __cdecl N ( __VA_ARGS__ ) __VA_ARGS__ is C99, which isn't widely supported yet. > #define foo2(T,N,A) T __cdecl N A > > foo2 (int, blah, (int a, int b)) // declaration Nick, LOOK at that line for a second, and then ask yourself why I wouldn't want to write something like that =3D) Brian |