diff options
Diffstat (limited to 'lmem.h')
-rw-r--r-- | lmem.h | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -1,5 +1,5 @@ | |||
1 | /* | 1 | /* |
2 | ** $Id: lmem.h,v 1.7 1999/02/25 15:16:26 roberto Exp roberto $ | 2 | ** $Id: lmem.h,v 1.8 1999/02/26 15:48:55 roberto Exp roberto $ |
3 | ** Interface to Memory Manager | 3 | ** Interface to Memory Manager |
4 | ** See Copyright Notice in lua.h | 4 | ** See Copyright Notice in lua.h |
5 | */ | 5 | */ |
@@ -20,7 +20,7 @@ | |||
20 | 20 | ||
21 | void *luaM_realloc (void *oldblock, unsigned long size); | 21 | void *luaM_realloc (void *oldblock, unsigned long size); |
22 | void *luaM_growaux (void *block, unsigned long nelems, int inc, int size, | 22 | void *luaM_growaux (void *block, unsigned long nelems, int inc, int size, |
23 | char *errormsg, unsigned long limit); | 23 | const char *errormsg, unsigned long limit); |
24 | 24 | ||
25 | #define luaM_free(b) luaM_realloc((b), 0) | 25 | #define luaM_free(b) luaM_realloc((b), 0) |
26 | #define luaM_malloc(t) luaM_realloc(NULL, (t)) | 26 | #define luaM_malloc(t) luaM_realloc(NULL, (t)) |