]> git.xonotic.org Git - xonotic/gmqcc.git/blobdiff - gmqcc.h
slightly faster hash function (using crc32), with precomputed polynomial table (256x3...
[xonotic/gmqcc.git] / gmqcc.h
diff --git a/gmqcc.h b/gmqcc.h
index 6e7bb8b1e3a1d3f3ae7815bd1ea0a1efe6aa1b30..ba53228215bff807ba03d690581f4a4abc17e858 100644 (file)
--- a/gmqcc.h
+++ b/gmqcc.h
@@ -167,6 +167,8 @@ void  util_debug     (const char *, const char *, ...);
 int   util_getline   (char **, size_t *, FILE *);
 void  util_endianswap(void *, int, int);
 
+uint32_t util_crc32(const char *, int, register const short); 
+
 #ifdef NOTRACK
 #    define mem_a(x) malloc(x)
 #    define mem_d(x) free  (x)