about summary refs log tree commit diff
path: root/src/base/system.h
diff options
context:
space:
mode:
authorJoel de Vahl <joel@stalverk80.se>2008-10-06 16:44:34 +0000
committerJoel de Vahl <joel@stalverk80.se>2008-10-06 16:44:34 +0000
commitd1b55351ccc2252917ad494b74bb6ad562df34ce (patch)
treec797ff1df77593bd8d36ddf41c235f65a5508b30 /src/base/system.h
parent78d129c0519166f8ab2e84acbccc3f604ed70b0b (diff)
downloadzcatch-d1b55351ccc2252917ad494b74bb6ad562df34ce.tar.gz
zcatch-d1b55351ccc2252917ad494b74bb6ad562df34ce.zip
Big endian fix.
Diffstat (limited to 'src/base/system.h')
-rw-r--r--src/base/system.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/base/system.h b/src/base/system.h
index e7c3586f..36f370cd 100644
--- a/src/base/system.h
+++ b/src/base/system.h
@@ -161,6 +161,13 @@ void mem_zero(void *block, unsigned size);
 */
 int mem_comp(const void *a, const void *b, int size);
 
+/*
+	Function: mem_check
+		Validates the heap
+		Will trigger a assert if memory has failed.
+*/
+void mem_check();
+
 /* Group: File IO */
 enum {
 	IOFLAG_READ = 1,