|
native Lua
0.4.0
Lua on the platform you use with the compiler you choose
|
#include "lprefix.h"#include <setjmp.h>#include <stdlib.h>#include <string.h>#include "lua.h"#include "lapi.h"#include "ldebug.h"#include "ldo.h"#include "lfunc.h"#include "lgc.h"#include "lmem.h"#include "lobject.h"#include "lopcodes.h"#include "lparser.h"#include "lstate.h"#include "lstring.h"#include "ltable.h"#include "ltm.h"#include "lundump.h"#include "lvm.h"#include "lzio.h"
Data Structures | |
| struct | lua_longjmp |
| struct | SParser |
Macros | |
| #define | ldo_c |
| #define | LUA_CORE |
| #define | errorstatus(s) ((s) > LUA_YIELD) |
| #define | LUAI_THROW(L, c) longjmp((c)->b, 1) |
| #define | LUAI_TRY(L, c, a) if (setjmp((c)->b) == 0) { a } |
| #define | luai_jmpbuf jmp_buf |
| #define | ERRORSTACKSIZE (LUAI_MAXSTACK + 200) |
| #define | next_ci(L) (L->ci = (L->ci->next ? L->ci->next : luaE_extendCI(L))) |
| #define | checkstackp(L, n, p) |
Functions | |
| l_noret | luaD_throw (lua_State *L, int errcode) |
| int | luaD_rawrunprotected (lua_State *L, Pfunc f, void *ud) |
| void | luaD_reallocstack (lua_State *L, int newsize) |
| void | luaD_growstack (lua_State *L, int n) |
| void | luaD_shrinkstack (lua_State *L) |
| void | luaD_inctop (lua_State *L) |
| void | luaD_hook (lua_State *L, int event, int line) |
| int | luaD_poscall (lua_State *L, CallInfo *ci, StkId firstResult, int nres) |
| int | luaD_precall (lua_State *L, StkId func, int nresults) |
| void | luaD_call (lua_State *L, StkId func, int nResults) |
| void | luaD_callnoyield (lua_State *L, StkId func, int nResults) |
| LUA_API int | lua_resume (lua_State *L, lua_State *from, int nargs) |
| LUA_API int | lua_isyieldable (lua_State *L) |
| LUA_API int | lua_yieldk (lua_State *L, int nresults, lua_KContext ctx, lua_KFunction k) |
| int | luaD_pcall (lua_State *L, Pfunc func, void *u, ptrdiff_t old_top, ptrdiff_t ef) |
| int | luaD_protectedparser (lua_State *L, ZIO *z, const char *name, const char *mode) |
| #define checkstackp | ( | L, | |
| n, | |||
| p | |||
| ) |
| #define ERRORSTACKSIZE (LUAI_MAXSTACK + 200) |
| #define errorstatus | ( | s | ) | ((s) > LUA_YIELD) |
| #define ldo_c |
| #define LUA_CORE |
| #define luai_jmpbuf jmp_buf |
| #define LUAI_THROW | ( | L, | |
| c | |||
| ) | longjmp((c)->b, 1) |
| #define LUAI_TRY | ( | L, | |
| c, | |||
| a | |||
| ) | if (setjmp((c)->b) == 0) { a } |
| #define next_ci | ( | L | ) | (L->ci = (L->ci->next ? L->ci->next : luaE_extendCI(L))) |
| LUA_API int lua_yieldk | ( | lua_State * | L, |
| int | nresults, | ||
| lua_KContext | ctx, | ||
| lua_KFunction | k | ||
| ) |
| void luaD_growstack | ( | lua_State * | L, |
| int | n | ||
| ) |
| void luaD_hook | ( | lua_State * | L, |
| int | event, | ||
| int | line | ||
| ) |
| void luaD_inctop | ( | lua_State * | L | ) |
| void luaD_reallocstack | ( | lua_State * | L, |
| int | newsize | ||
| ) |
| void luaD_shrinkstack | ( | lua_State * | L | ) |
1.8.20