#include <stdlib.h>
#include "lua.h"
#include "ldebug.h"
#include "ldo.h"
#include "lmem.h"
#include "lobject.h"
#include "lstate.h"
Go to the source code of this file.
Defines | |
#define | lmem_c |
#define | l_realloc(b, os, s) realloc(b,s) |
#define | l_free(b, os) free(b) |
#define | MINSIZEARRAY 4 |
Functions | |
void * | luaM_growaux (lua_State *L, void *block, int *size, int size_elems, int limit, const char *errormsg) |
void * | luaM_realloc (lua_State *L, void *block, lu_mem oldsize, lu_mem size) |
|
Definition at line 36 of file lmem.c. Referenced by luaM_realloc(). |
|
Definition at line 28 of file lmem.c. Referenced by luaM_realloc(). |
|
|
|
Definition at line 40 of file lmem.c. Referenced by luaM_growaux(). |
|
Definition at line 43 of file lmem.c. References cast, luaG_runerror(), luaM_realloc(), and MINSIZEARRAY. |
|
Definition at line 65 of file lmem.c. References G, l_free, l_realloc, lua_assert, luaD_throw(), luaG_runerror(), and MAX_SIZET. Referenced by luaM_growaux(). |