Mercurial > hg-old > index.cgi
comparison src/util.h @ 20:610710a7859f
added lwasm_realloc()
author | lost |
---|---|
date | Fri, 02 Jan 2009 00:42:11 +0000 |
parents | df0c4a46af8f |
children |
comparison
equal
deleted
inserted
replaced
19:925105ccf22f | 20:610710a7859f |
---|---|
32 #endif | 32 #endif |
33 | 33 |
34 // allocate memory | 34 // allocate memory |
35 __util_E__ void *lwasm_alloc(int size); | 35 __util_E__ void *lwasm_alloc(int size); |
36 __util_E__ void lwasm_free(void *ptr); | 36 __util_E__ void lwasm_free(void *ptr); |
37 __util_E__ void *lwasm_realloc(void *optr, int size); | |
37 | 38 |
38 // string stuff | 39 // string stuff |
39 __util_E__ char *lwasm_strdup(const char *s); | 40 __util_E__ char *lwasm_strdup(const char *s); |
40 | 41 |
41 #undef __util_E__ | 42 #undef __util_E__ |