Github User Fetcher 1.0.0
C Application with Server and GUI
|
Go to the source code of this file.
Macros | |
#define | luaM_reallocv(L, b, on, n, e) |
#define | luaM_freemem(L, b, s) luaM_realloc_(L, (b), (s), 0) |
#define | luaM_free(L, b) luaM_realloc_(L, (b), sizeof(*(b)), 0) |
#define | luaM_freearray(L, b, n) luaM_reallocv(L, (b), n, 0, sizeof((b)[0])) |
#define | luaM_malloc(L, s) luaM_realloc_(L, NULL, 0, (s)) |
#define | luaM_new(L, t) cast(t *, luaM_malloc(L, sizeof(t))) |
#define | luaM_newvector(L, n, t) cast(t *, luaM_reallocv(L, NULL, 0, n, sizeof(t))) |
#define | luaM_newobject(L, tag, s) luaM_realloc_(L, NULL, tag, (s)) |
#define | luaM_growvector(L, v, nelems, size, t, limit, e) |
#define | luaM_reallocvector(L, v, oldn, n, t) ((v)=cast(t *, luaM_reallocv(L, v, oldn, n, sizeof(t)))) |
Functions | |
LUAI_FUNC l_noret | luaM_toobig (lua_State *L) |
LUAI_FUNC void * | luaM_realloc_ (lua_State *L, void *block, size_t oldsize, size_t size) |
LUAI_FUNC void * | luaM_growaux_ (lua_State *L, void *block, int *size, size_t size_elem, int limit, const char *what) |
#define luaM_free | ( | L, | |
b ) luaM_realloc_(L, (b), sizeof(*(b)), 0) |
Definition at line 30 of file lua-5.2.4/src/lmem.h.
#define luaM_freearray | ( | L, | |
b, | |||
n ) luaM_reallocv(L, (b), n, 0, sizeof((b)[0])) |
Definition at line 31 of file lua-5.2.4/src/lmem.h.
#define luaM_freemem | ( | L, | |
b, | |||
s ) luaM_realloc_(L, (b), (s), 0) |
Definition at line 29 of file lua-5.2.4/src/lmem.h.
#define luaM_growvector | ( | L, | |
v, | |||
nelems, | |||
size, | |||
t, | |||
limit, | |||
e ) |
Definition at line 40 of file lua-5.2.4/src/lmem.h.
#define luaM_malloc | ( | L, | |
s ) luaM_realloc_(L, NULL, 0, (s)) |
Definition at line 33 of file lua-5.2.4/src/lmem.h.
#define luaM_new | ( | L, | |
t ) cast(t *, luaM_malloc(L, sizeof(t))) |
Definition at line 34 of file lua-5.2.4/src/lmem.h.
#define luaM_newobject | ( | L, | |
tag, | |||
s ) luaM_realloc_(L, NULL, tag, (s)) |
Definition at line 38 of file lua-5.2.4/src/lmem.h.
Referenced by lua_newthread(), luaC_newobj(), and luaC_newobj().
#define luaM_newvector | ( | L, | |
n, | |||
t ) cast(t *, luaM_reallocv(L, NULL, 0, n, sizeof(t))) |
Definition at line 35 of file lua-5.2.4/src/lmem.h.
#define luaM_reallocv | ( | L, | |
b, | |||
on, | |||
n, | |||
e ) |
Definition at line 24 of file lua-5.2.4/src/lmem.h.
#define luaM_reallocvector | ( | L, | |
v, | |||
oldn, | |||
n, | |||
t ) ((v)=cast(t *, luaM_reallocv(L, v, oldn, n, sizeof(t)))) |
Definition at line 44 of file lua-5.2.4/src/lmem.h.
LUAI_FUNC void * luaM_growaux_ | ( | lua_State * | L, |
void * | block, | ||
int * | size, | ||
size_t | size_elem, | ||
int | limit, | ||
const char * | what ) |
Definition at line 46 of file lua-5.1.5/src/lmem.c.
Definition at line 76 of file lua-5.1.5/src/lmem.c.
Definition at line 66 of file lua-5.1.5/src/lmem.c.