mirror of
https://github.com/DarkPlacesEngine/gmqcc.git
synced 2024-11-24 04:41:25 +00:00
18 lines
257 B
C++
18 lines
257 B
C++
#define ACCUMULATE_FUNCTION(FUNC) \
|
|
[[accumulate]] void FUNC ()
|
|
|
|
ACCUMULATE_FUNCTION(foo) {
|
|
print("hello ");
|
|
}
|
|
|
|
ACCUMULATE_FUNCTION(foo) {
|
|
print("accumulation ");
|
|
}
|
|
|
|
ACCUMULATE_FUNCTION(foo) {
|
|
print("world\n");
|
|
}
|
|
|
|
void main() {
|
|
foo();
|
|
}
|