The Battle for Wesnoth  1.13.4+dev
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
Macros
lapi.h File Reference
#include "llimits.h"
#include "lstate.h"
Include dependency graph for lapi.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#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)
 

Macro Definition Documentation

#define adjustresults (   L,
  nres 
)    { if ((nres) == LUA_MULTRET && L->ci->top < L->top) L->ci->top = L->top; }

Definition at line 16 of file lapi.h.

Referenced by finishCcall(), lua_callk(), and lua_pcallk().

#define api_checknelems (   L,
  n 
)
Value:
api_check(L, (n) < (L->top - L->ci->func), \
"not enough elements in the stack")
GLclampd n
Definition: glew.h:5903
#define api_check(l, e, msg)
Definition: llimits.h:84

Definition at line 19 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)