mirror of
https://github.com/DarkPlacesEngine/gmqcc.git
synced 2024-11-30 23:51:46 +00:00
9 lines
204 B
C++
9 lines
204 B
C++
void print(...) = #1;
|
|
|
|
#define NOPARENS(...) __VA_ARGS__
|
|
#define callem(func, args) func(NOPARENS args)
|
|
|
|
void main() {
|
|
print(NOPARENS("hello ", "world\n"));
|
|
callem(print, ("Yay", ", there\n"));
|
|
}
|