mirror of
https://github.com/DarkPlacesEngine/gmqcc.git
synced 2024-11-27 06:02:22 +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();
|
|
}
|