diff options
Diffstat (limited to 'lmem.h')
-rw-r--r-- | lmem.h | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -1,5 +1,5 @@ | |||
1 | /* | 1 | /* |
2 | ** $Id: lmem.h,v 1.31 2005/04/25 19:24:10 roberto Exp roberto $ | 2 | ** $Id: lmem.h,v 1.32 2006/09/14 18:42:28 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 | */ |
@@ -37,10 +37,11 @@ | |||
37 | #define luaM_reallocvector(L, v,oldn,n,t) \ | 37 | #define luaM_reallocvector(L, v,oldn,n,t) \ |
38 | ((v)=cast(t *, luaM_reallocv(L, v, oldn, n, sizeof(t)))) | 38 | ((v)=cast(t *, luaM_reallocv(L, v, oldn, n, sizeof(t)))) |
39 | 39 | ||
40 | LUAI_FUNC void *luaM_toobig (lua_State *L); | ||
40 | 41 | ||
42 | /* not to be called directly */ | ||
41 | LUAI_FUNC void *luaM_realloc_ (lua_State *L, void *block, size_t oldsize, | 43 | LUAI_FUNC void *luaM_realloc_ (lua_State *L, void *block, size_t oldsize, |
42 | size_t size); | 44 | size_t size); |
43 | LUAI_FUNC void *luaM_toobig (lua_State *L); | ||
44 | LUAI_FUNC void *luaM_growaux_ (lua_State *L, void *block, int *size, | 45 | LUAI_FUNC void *luaM_growaux_ (lua_State *L, void *block, int *size, |
45 | size_t size_elem, int limit, | 46 | size_t size_elem, int limit, |
46 | const char *what); | 47 | const char *what); |