#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) |
|
int | lua_resetthread (lua_State *L) |
|
LUA_API int | lua_setcstacklimit (lua_State *L, unsigned int limit) |
|
void | luaE_enterCcall (lua_State *L) |
|
CallInfo * | luaE_extendCI (lua_State *L) |
|
void | luaE_freeCI (lua_State *L) |
|
void | luaE_freethread (lua_State *L, lua_State *L1) |
|
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) |
|
#define addbuff |
( |
|
b, |
|
|
|
p, |
|
|
|
e |
|
) |
| |
Value: memcpy(b + p, &t, sizeof(t)); p += sizeof(t); }
Definition at line 67 of file lstate.c.
static void f_luaopen |
( |
lua_State * |
L, |
|
|
void * |
ud |
|
) |
| |
|
static |
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 |