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