aboutsummaryrefslogtreecommitdiff
path: root/lmem.h
diff options
context:
space:
mode:
authorRoberto Ierusalimschy <roberto@inf.puc-rio.br>2007-02-09 11:04:52 -0200
committerRoberto Ierusalimschy <roberto@inf.puc-rio.br>2007-02-09 11:04:52 -0200
commit08f902cf495752494088392a86f11a22755cc8cb (patch)
tree93aa40d1584b07f9bb3d74ab148d755e0044e041 /lmem.h
parentd3c304e92e5581bb7b8b7c5a61beb0a6faa108c2 (diff)
downloadlua-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.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/lmem.h b/lmem.h
index 46388f0a..2ddde353 100644
--- a/lmem.h
+++ b/lmem.h
@@ -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
40LUAI_FUNC void *luaM_toobig (lua_State *L);
40 41
42/* not to be called directly */
41LUAI_FUNC void *luaM_realloc_ (lua_State *L, void *block, size_t oldsize, 43LUAI_FUNC void *luaM_realloc_ (lua_State *L, void *block, size_t oldsize,
42 size_t size); 44 size_t size);
43LUAI_FUNC void *luaM_toobig (lua_State *L);
44LUAI_FUNC void *luaM_growaux_ (lua_State *L, void *block, int *size, 45LUAI_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);