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 adjustresults(L, nres)   { if ((nres) <= LUA_MULTRET && L->ci->top < L->top) L->ci->top = L->top; }
 
#define api_checknelems(L, n)
 
#define api_incr_top(L)
 
#define codeNresults(n)   (-(n) - 3)
 
#define hastocloseCfunc(n)   ((n) < LUA_MULTRET)
 

Macro Definition Documentation

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

Definition at line 25 of file lapi.h.

#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:113

Definition at line 30 of file lapi.h.

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

Definition at line 16 of file lapi.h.

#define codeNresults (   n)    (-(n) - 3)

Definition at line 45 of file lapi.h.

#define hastocloseCfunc (   n)    ((n) < LUA_MULTRET)

Definition at line 43 of file lapi.h.



plotjuggler
Author(s): Davide Faconti
autogenerated on Sun Dec 6 2020 04:02:48