]> git.xonotic.org Git - xonotic/gmqcc.git/blobdiff - gmqcc.h
out-of-bounds indexing check on static array indexing
[xonotic/gmqcc.git] / gmqcc.h
diff --git a/gmqcc.h b/gmqcc.h
index c3a44cd98552bc73b4867321e6f8fab04559a140..33346cef93e091c9f4f8c71736cc5f15218bdd09 100644 (file)
--- a/gmqcc.h
+++ b/gmqcc.h
@@ -328,6 +328,11 @@ enum {
     TYPE_COUNT
 };
 
+/* const/var qualifiers */
+#define CV_NONE  0
+#define CV_CONST 1
+#define CV_VAR  -1
+
 extern const char *type_name[TYPE_COUNT];
 
 extern size_t type_sizeof[TYPE_COUNT];