#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>
Go to the source code of this file.
|
typedef struct LG | LG |
|
typedef struct LX | LX |
|
|
static void | close_state (lua_State *L) |
|
static void | f_luaopen (lua_State *L, void *ud) |
|
static void | freestack (lua_State *L) |
|
static void | init_registry (lua_State *L, global_State *g) |
|
LUA_API void | lua_close (lua_State *L) |
|
LUA_API lua_State * | lua_newstate (lua_Alloc f, void *ud) |
|
LUA_API lua_State * | lua_newthread (lua_State *L) |
|
LUA_API int | lua_resetthread (lua_State *L) |
|
LUA_API int | lua_setcstacklimit (lua_State *L, unsigned int limit) |
|
void | luaE_checkcstack (lua_State *L) |
|
CallInfo * | luaE_extendCI (lua_State *L) |
|
void | luaE_freeCI (lua_State *L) |
|
void | luaE_freethread (lua_State *L, lua_State *L1) |
|
LUAI_FUNC void | luaE_incCstack (lua_State *L) |
|
int | luaE_resetthread (lua_State *L, int status) |
|
void | luaE_setdebt (global_State *g, l_mem debt) |
|
void | luaE_shrinkCI (lua_State *L) |
|
void | luaE_warnerror (lua_State *L, const char *where) |
|
void | luaE_warning (lua_State *L, const char *msg, int tocont) |
|
static unsigned int | luai_makeseed (lua_State *L) |
|
static void | preinit_thread (lua_State *L, global_State *g) |
|
static void | stack_init (lua_State *L1, lua_State *L) |
|
◆ addbuff
#define addbuff |
( |
|
b, |
|
|
|
p, |
|
|
|
e |
|
) |
| |
Value:
memcpy(b + p, &t, sizeof(t)); p += sizeof(t); }
Definition at line 67 of file lstate.c.
◆ fromstate
◆ lstate_c
◆ LUA_CORE
◆ LG
◆ LX
◆ close_state()
◆ f_luaopen()
static void f_luaopen |
( |
lua_State * |
L, |
|
|
void * |
ud |
|
) |
| |
|
static |
◆ freestack()
◆ init_registry()
◆ lua_close()
◆ lua_newstate()
◆ lua_newthread()
◆ lua_resetthread()
◆ lua_setcstacklimit()
◆ luaE_checkcstack()
◆ luaE_extendCI()
◆ luaE_freeCI()
◆ luaE_freethread()
◆ luaE_incCstack()
◆ luaE_resetthread()
int luaE_resetthread |
( |
lua_State * |
L, |
|
|
int |
status |
|
) |
| |
◆ luaE_setdebt()
◆ luaE_shrinkCI()
◆ luaE_warnerror()
void luaE_warnerror |
( |
lua_State * |
L, |
|
|
const char * |
where |
|
) |
| |
◆ luaE_warning()
void luaE_warning |
( |
lua_State * |
L, |
|
|
const char * |
msg, |
|
|
int |
tocont |
|
) |
| |
◆ luai_makeseed()
static unsigned int luai_makeseed |
( |
lua_State * |
L | ) |
|
|
static |
◆ preinit_thread()
◆ stack_init()