From d1b55351ccc2252917ad494b74bb6ad562df34ce Mon Sep 17 00:00:00 2001 From: Joel de Vahl Date: Mon, 6 Oct 2008 16:44:34 +0000 Subject: Big endian fix. --- src/base/system.h | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'src/base/system.h') 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, -- cgit 1.4.1