]> git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/blobdiff - qcsrc/lib/misc.qh
Merge branch 'master' into TimePath/items
[xonotic/xonotic-data.pk3dir.git] / qcsrc / lib / misc.qh
index 692ef2553f10d9c973a6de7bc37655aacf1f9336..db7819b8cec056a7df0be4d9569dd4848aee0744 100644 (file)
@@ -25,7 +25,7 @@
 
 #define GET(name) name##get
 #define GETTER(type, name) type GET(name)() { return name; }
-
+#define PROPERTY(type, name) type name; GETTER(type, name)
 #define LAMBDA(...) { __VA_ARGS__; }
 
 // With block may not contain continue or break