|
native Lua
0.4.0
Lua on the platform you use with the compiler you choose
|
#include "lprefix.h"#include <stddef.h>#include <string.h>#include "lua.h"#include "lapi.h"#include "ldebug.h"#include "ldo.h"#include "lfunc.h"#include "lgc.h"#include "llex.h"#include "lmem.h"#include "lstate.h"#include "lstring.h"#include "ltable.h"#include "ltm.h"#include <time.h>
Data Structures | |
| struct | LX |
| struct | LG |
Macros | |
| #define | lstate_c |
| #define | LUA_CORE |
| #define | LUAI_GCPAUSE 200 /* 200% */ |
| #define | LUAI_GCMUL 200 /* GC runs 'twice the speed' of memory allocation */ |
| #define | luai_makeseed() cast(unsigned int, time(NULL)) |
| #define | fromstate(L) (cast(LX *, cast(lu_byte *, (L)) - offsetof(LX, l))) |
| #define | addbuff(b, p, e) |
Typedefs | |
| typedef struct LX | LX |
| typedef struct LG | LG |
Functions | |
| void | luaE_setdebt (global_State *g, l_mem debt) |
| CallInfo * | luaE_extendCI (lua_State *L) |
| void | luaE_freeCI (lua_State *L) |
| void | luaE_shrinkCI (lua_State *L) |
| LUA_API lua_State * | lua_newthread (lua_State *L) |
| void | luaE_freethread (lua_State *L, lua_State *L1) |
| LUA_API lua_State * | lua_newstate (lua_Alloc f, void *ud) |
| LUA_API void | lua_close (lua_State *L) |
| #define addbuff | ( | b, | |
| p, | |||
| e | |||
| ) |
| #define lstate_c |
| #define LUA_CORE |
| #define LUAI_GCMUL 200 /* GC runs 'twice the speed' of memory allocation */ |
| #define LUAI_GCPAUSE 200 /* 200% */ |
| #define luai_makeseed | ( | ) | cast(unsigned int, time(NULL)) |
| void luaE_freeCI | ( | lua_State * | L | ) |
| void luaE_setdebt | ( | global_State * | g, |
| l_mem | debt | ||
| ) |
| void luaE_shrinkCI | ( | lua_State * | L | ) |
1.8.20