Ardour  9.0-pre0-582-g084a23a80d
ldo.h File Reference
#include "lobject.h"
#include "lstate.h"
#include "lzio.h"
Include dependency graph for ldo.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define luaD_checkstackaux(L, n, pre, pos)
 
#define luaD_checkstack(L, n)   luaD_checkstackaux(L,n,(void)0,(void)0)
 
#define savestack(L, p)   ((char *)(p) - (char *)L->stack)
 
#define restorestack(L, n)   ((TValue *)((char *)L->stack + (n)))
 

Typedefs

typedef void(* Pfunc) (lua_State *L, void *ud)
 

Functions

int luaD_protectedparser (lua_State *L, ZIO *z, const char *name, const char *mode)
 
void luaD_hook (lua_State *L, int event, int line)
 
int luaD_precall (lua_State *L, StkId func, int nresults)
 
void luaD_call (lua_State *L, StkId func, int nResults)
 
void luaD_callnoyield (lua_State *L, StkId func, int nResults)
 
int luaD_pcall (lua_State *L, Pfunc func, void *u, ptrdiff_t oldtop, ptrdiff_t ef)
 
int luaD_poscall (lua_State *L, CallInfo *ci, StkId firstResult, int nres)
 
void luaD_reallocstack (lua_State *L, int newsize)
 
void luaD_growstack (lua_State *L, int n)
 
void luaD_shrinkstack (lua_State *L)
 
void luaD_inctop (lua_State *L)
 
void luaD_throw (lua_State *L, int errcode)
 
int luaD_rawrunprotected (lua_State *L, Pfunc f, void *ud)
 

Macro Definition Documentation

◆ luaD_checkstack

#define luaD_checkstack (   L,
 
)    luaD_checkstackaux(L,n,(void)0,(void)0)

Definition at line 28 of file ldo.h.

◆ luaD_checkstackaux

#define luaD_checkstackaux (   L,
  n,
  pre,
  pos 
)
Value:
if (L->stack_last - L->top <= (n)) \
{ pre; luaD_growstack(L, n); pos; } else { condmovestack(L,pre,pos); }
void luaD_growstack(lua_State *L, int n)
#define condmovestack(L, pre, pos)
Definition: llimits.h:309

Definition at line 23 of file ldo.h.

◆ restorestack

#define restorestack (   L,
 
)    ((TValue *)((char *)L->stack + (n)))

Definition at line 33 of file ldo.h.

◆ savestack

#define savestack (   L,
 
)    ((char *)(p) - (char *)L->stack)

Definition at line 32 of file ldo.h.

Typedef Documentation

◆ Pfunc

typedef void(* Pfunc) (lua_State *L, void *ud)

Definition at line 37 of file ldo.h.

Function Documentation

◆ luaD_call()

void luaD_call ( lua_State L,
StkId  func,
int  nResults 
)

◆ luaD_callnoyield()

void luaD_callnoyield ( lua_State L,
StkId  func,
int  nResults 
)

◆ luaD_growstack()

void luaD_growstack ( lua_State L,
int  n 
)

◆ luaD_hook()

void luaD_hook ( lua_State L,
int  event,
int  line 
)

◆ luaD_inctop()

void luaD_inctop ( lua_State L)

◆ luaD_pcall()

int luaD_pcall ( lua_State L,
Pfunc  func,
void *  u,
ptrdiff_t  oldtop,
ptrdiff_t  ef 
)

◆ luaD_poscall()

int luaD_poscall ( lua_State L,
CallInfo ci,
StkId  firstResult,
int  nres 
)

◆ luaD_precall()

int luaD_precall ( lua_State L,
StkId  func,
int  nresults 
)

◆ luaD_protectedparser()

int luaD_protectedparser ( lua_State L,
ZIO z,
const char *  name,
const char *  mode 
)

◆ luaD_rawrunprotected()

int luaD_rawrunprotected ( lua_State L,
Pfunc  f,
void *  ud 
)

◆ luaD_reallocstack()

void luaD_reallocstack ( lua_State L,
int  newsize 
)

◆ luaD_shrinkstack()

void luaD_shrinkstack ( lua_State L)

◆ luaD_throw()

void luaD_throw ( lua_State L,
int  errcode 
)