|
native Lua
0.5.0-devel
Lua on the platform you use with the compiler you choose
|
#include "lprefix.h"#include <stddef.h>#include "lua.h"#include "ldebug.h"#include "ldo.h"#include "lgc.h"#include "lmem.h"#include "lobject.h"#include "lstate.h"
Macros | |
| #define | lmem_c |
| #define | LUA_CORE |
| #define | firsttry(g, block, os, ns) ((*g->frealloc)(g->ud, block, os, ns)) |
| #define | MINSIZEARRAY 4 |
Functions | |
| void * | luaM_growaux_ (lua_State *L, void *block, int nelems, int *psize, int size_elems, int limit, const char *what) |
| void * | luaM_shrinkvector_ (lua_State *L, void *block, int *size, int final_n, int size_elem) |
| l_noret | luaM_toobig (lua_State *L) |
| void | luaM_free_ (lua_State *L, void *block, size_t osize) |
| void * | luaM_realloc_ (lua_State *L, void *block, size_t osize, size_t nsize) |
| void * | luaM_saferealloc_ (lua_State *L, void *block, size_t osize, size_t nsize) |
| void * | luaM_malloc_ (lua_State *L, size_t size, int tag) |
| #define firsttry | ( | g, | |
| block, | |||
| os, | |||
| ns | |||
| ) | ((*g->frealloc)(g->ud, block, os, ns)) |
| #define lmem_c |
| #define LUA_CORE |
| #define MINSIZEARRAY 4 |
| void luaM_free_ | ( | lua_State * | L, |
| void * | block, | ||
| size_t | osize | ||
| ) |
| void* luaM_growaux_ | ( | lua_State * | L, |
| void * | block, | ||
| int | nelems, | ||
| int * | psize, | ||
| int | size_elems, | ||
| int | limit, | ||
| const char * | what | ||
| ) |
| void* luaM_malloc_ | ( | lua_State * | L, |
| size_t | size, | ||
| int | tag | ||
| ) |
| void* luaM_realloc_ | ( | lua_State * | L, |
| void * | block, | ||
| size_t | osize, | ||
| size_t | nsize | ||
| ) |
| void* luaM_saferealloc_ | ( | lua_State * | L, |
| void * | block, | ||
| size_t | osize, | ||
| size_t | nsize | ||
| ) |
| void* luaM_shrinkvector_ | ( | lua_State * | L, |
| void * | block, | ||
| int * | size, | ||
| int | final_n, | ||
| int | size_elem | ||
| ) |
1.8.18