The Battle for Wesnoth  1.15.1+dev
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

◆ adjustresults

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

◆ api_checknelems

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

Definition at line 20 of file lapi.h.

Referenced by auxsetstr(), finishCcall(), lua_arith(), lua_callk(), lua_concat(), lua_dump(), lua_error(), lua_pcallk(), lua_pushcclosure(), lua_rawset(), lua_rawseti(), lua_rawsetp(), lua_resume(), lua_seti(), lua_setmetatable(), lua_settable(), lua_setupvalue(), lua_setuservalue(), lua_xmove(), lua_yieldk(), luaD_precall(), and resume().

◆ api_incr_top

#define api_incr_top (   L)