Ardour  9.0-pre0-386-g96ef4d20f2
lapi.h File Reference
#include "llimits.h"
#include "lstate.h"
Include dependency graph for lapi.h:

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.

◆ api_checknelems

#define api_checknelems (   L,
 
)
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

Definition at line 20 of file lapi.h.

◆ api_incr_top

#define api_incr_top (   L)
Value:
{L->top++; api_check(L, L->top <= L->ci->top, \
"stack overflow");}

Definition at line 14 of file lapi.h.