diff options
author | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2007-02-09 11:04:52 -0200 |
---|---|---|
committer | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2007-02-09 11:04:52 -0200 |
commit | 08f902cf495752494088392a86f11a22755cc8cb (patch) | |
tree | 93aa40d1584b07f9bb3d74ab148d755e0044e041 /lmem.h | |
parent | d3c304e92e5581bb7b8b7c5a61beb0a6faa108c2 (diff) | |
download | lua-08f902cf495752494088392a86f11a22755cc8cb.tar.gz lua-08f902cf495752494088392a86f11a22755cc8cb.tar.bz2 lua-08f902cf495752494088392a86f11a22755cc8cb.zip |
better documentation for auxiliary functions (that should be called only
through specific macros).
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); |