]> git.xonotic.org Git - xonotic/gmqcc.git/blobdiff - gmqcc.h
-Wuninitialized-const, -Wuninitialized-global
[xonotic/gmqcc.git] / gmqcc.h
diff --git a/gmqcc.h b/gmqcc.h
index 8527f2e12cc0e489480c9d6fce1cde0b4bc81028..27d32f77acd2341ff23d3613a298b03f46a232b0 100644 (file)
--- a/gmqcc.h
+++ b/gmqcc.h
@@ -261,6 +261,10 @@ uint16_t util_crc16(uint16_t crc, const char *data, size_t len);
 void     util_seed(uint32_t);
 uint32_t util_rand();
 
+int util_vasprintf(char **ret, const char *fmt, va_list);
+int util_asprintf (char **ret, const char *fmt, ...);
+
+
 #ifdef NOTRACK
 #    define mem_a(x)    malloc (x)
 #    define mem_d(x)    free   ((void*)x)
@@ -388,6 +392,8 @@ enum {
     TYPE_UNION    ,
     TYPE_ARRAY    ,
 
+    TYPE_NIL      , /* it's its own type / untyped */
+
     TYPE_COUNT
 };