Xonotic
macro.qh
Go to the documentation of this file.
1 #pragma once
2 
3 // NOTE: spaces removed from these often used macros to reduce size when expanded
4 #if 1
5  void voidfunc() { }
6  #define MACRO_BEGIN if(1){
7  #define MACRO_END }else voidfunc()
8 #else
9  #define MACRO_BEGIN do{
10  #define MACRO_END }while(0)
11 #endif
12 
14 #define RVALUE 0
15 
16 #define _CAT(a, b) a ## b
17 #define CAT(a, b) _CAT(a, b)
18 
19 #define _STR(it) #it
20 #define STR(it) _STR(it)
21 
22 #define EMPTY()
23 #define DEFER(id) id EMPTY()
void voidfunc()
Definition: macro.qh:5