#include "llimits.h"#include "lstate.h"

Go to the source code of this file.
Defines | |
| #define | api_incr_top(L) |
| #define | adjustresults(L, nres) { if ((nres) == LUA_MULTRET && L->ci->top < L->top) L->ci->top = L->top; } |
| #define | api_checknelems(L, n) |
| #define adjustresults | ( | L, | ||
| nres | ||||
| ) | { if ((nres) == LUA_MULTRET && L->ci->top < L->top) L->ci->top = L->top; } |
Definition at line 17 of file lapi.h.
Referenced by finishCcall(), lua_callk(), and lua_pcallk().
| #define api_checknelems | ( | L, | ||
| n | ||||
| ) |
api_check(L, (n) < (L->top - L->ci->func), \ "not enough elements in the stack")
Definition at line 20 of file lapi.h.
Referenced by finishCcall(), lua_arith(), lua_callk(), lua_concat(), lua_dump(), lua_error(), lua_pcallk(), lua_pushcclosure(), lua_rawset(), lua_rawseti(), lua_rawsetp(), lua_replace(), lua_resume(), lua_setfield(), lua_setglobal(), lua_setmetatable(), lua_settable(), lua_setupvalue(), lua_setuservalue(), lua_xmove(), lua_yieldk(), luaD_precall(), and resume().
| #define api_incr_top | ( | L | ) |
{L->top++; api_check(L, L->top <= L->ci->top, \
"stack overflow");}
Definition at line 14 of file lapi.h.
Referenced by lua_concat(), lua_createtable(), lua_getfield(), lua_getlocal(), lua_getmetatable(), lua_getupvalue(), lua_getuservalue(), lua_len(), lua_newthread(), lua_newuserdata(), lua_next(), lua_pushboolean(), lua_pushcclosure(), lua_pushinteger(), lua_pushlightuserdata(), lua_pushlstring(), lua_pushnil(), lua_pushnumber(), lua_pushstring(), lua_pushthread(), lua_pushunsigned(), lua_pushvalue(), lua_rawgeti(), and lua_rawgetp().
| Generated by doxygen 1.7.1 on Fri May 25 2012 01:05:43 for The Battle for Wesnoth | Gna! | Forum | Wiki | CIA | devdocs |