diff src/util.h @ 20:610710a7859f

added lwasm_realloc()
author lost
date Fri, 02 Jan 2009 00:42:11 +0000
parents df0c4a46af8f
children
line wrap: on
line diff
--- a/src/util.h	Fri Jan 02 00:41:58 2009 +0000
+++ b/src/util.h	Fri Jan 02 00:42:11 2009 +0000
@@ -34,6 +34,7 @@
 // allocate memory
 __util_E__ void *lwasm_alloc(int size);
 __util_E__ void lwasm_free(void *ptr);
+__util_E__ void *lwasm_realloc(void *optr, int size);
 
 // string stuff
 __util_E__ char *lwasm_strdup(const char *s);