native Lua  0.4.0
Lua on the platform you use with the compiler you choose
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; }

◆ api_checknelems

#define api_checknelems (   L,
 
)
Value:
api_check(L, (n) < (L->top - L->ci->func), \
"not enough elements in the stack")

◆ api_incr_top

#define api_incr_top (   L)
Value:
{L->top++; api_check(L, L->top <= L->ci->top, \
"stack overflow");}
api_check
#define api_check(l, e, msg)
Definition: llimits.h:101