mirror of
https://github.com/DarkPlacesEngine/gmqcc.git
synced 2024-11-28 06:32:44 +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"));
|
|
}
|