RE: Clean way of generalizing CDECL
Brian Hook <[email protected]>
| Newsgroups | gmane.games.devel.general |
|---|---|
| Message-ID | <200477172734.909104@GATEWAY> |
> 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 =) Brian ------------------------------------------------------- This SF.Net email sponsored by Black Hat Briefings & Training. Attend Black Hat Briefings & Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.com _______________________________________________ Gamedevlists-general mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/gamedevlists-general Archives: http://sourceforge.net/mailarchive/forum.php?forum_idU7