diff options
Diffstat (limited to 'lmem.h')
| -rw-r--r-- | lmem.h | 2 |
1 files changed, 2 insertions, 0 deletions
| @@ -63,6 +63,8 @@ | |||
| 63 | 63 | ||
| 64 | #define luaM_newobject(L,tag,s) luaM_malloc_(L, (s), tag) | 64 | #define luaM_newobject(L,tag,s) luaM_malloc_(L, (s), tag) |
| 65 | 65 | ||
| 66 | #define luaM_newblock(L, size) luaM_newvector(L, size, char) | ||
| 67 | |||
| 66 | #define luaM_growvector(L,v,nelems,size,t,limit,e) \ | 68 | #define luaM_growvector(L,v,nelems,size,t,limit,e) \ |
| 67 | ((v)=cast(t *, luaM_growaux_(L,v,nelems,&(size),sizeof(t), \ | 69 | ((v)=cast(t *, luaM_growaux_(L,v,nelems,&(size),sizeof(t), \ |
| 68 | luaM_limitN(limit,t),e))) | 70 | luaM_limitN(limit,t),e))) |
