|
lua5.4
|
#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"宏定义 | |
| #define | lmem_c |
| #define | LUA_CORE |
| #define | firsttry(g, block, os, ns) ((*g->frealloc)(g->ud, block, os, ns)) |
| #define | MINSIZEARRAY 4 |
函数 | |
| 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) |
| static void * | tryagain (lua_State *L, void *block, size_t osize, size_t nsize) |
| 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 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 | ||
| ) |
|
static |
1.8.18