Ardour  8.7-15-gadf511264b
ldebug.h File Reference
#include "lstate.h"
Include dependency graph for ldebug.h:

Go to the source code of this file.

Macros

#define pcRel(pc, p)   (cast(int, (pc) - (p)->code) - 1)
 
#define getfuncline(f, pc)   (((f)->lineinfo) ? (f)->lineinfo[pc] : -1)
 
#define resethookcount(L)   (L->hookcount = L->basehookcount)
 

Functions

void luaG_typeerror (lua_State *L, const TValue *o, const char *opname)
 
void luaG_concaterror (lua_State *L, const TValue *p1, const TValue *p2)
 
void luaG_opinterror (lua_State *L, const TValue *p1, const TValue *p2, const char *msg)
 
void luaG_tointerror (lua_State *L, const TValue *p1, const TValue *p2)
 
void luaG_ordererror (lua_State *L, const TValue *p1, const TValue *p2)
 
void luaG_runerror (lua_State *L, const char *fmt,...)
 
const char * luaG_addinfo (lua_State *L, const char *msg, TString *src, int line)
 
void luaG_errormsg (lua_State *L)
 
void luaG_traceexec (lua_State *L)
 

Macro Definition Documentation

◆ getfuncline

#define getfuncline (   f,
  pc 
)    (((f)->lineinfo) ? (f)->lineinfo[pc] : -1)

Definition at line 16 of file ldebug.h.

◆ pcRel

#define pcRel (   pc,
 
)    (cast(int, (pc) - (p)->code) - 1)

Definition at line 14 of file ldebug.h.

◆ resethookcount

#define resethookcount (   L)    (L->hookcount = L->basehookcount)

Definition at line 18 of file ldebug.h.

Function Documentation

◆ luaG_addinfo()

const char* luaG_addinfo ( lua_State L,
const char *  msg,
TString src,
int  line 
)

◆ luaG_concaterror()

void luaG_concaterror ( lua_State L,
const TValue p1,
const TValue p2 
)

◆ luaG_errormsg()

void luaG_errormsg ( lua_State L)

◆ luaG_opinterror()

void luaG_opinterror ( lua_State L,
const TValue p1,
const TValue p2,
const char *  msg 
)

◆ luaG_ordererror()

void luaG_ordererror ( lua_State L,
const TValue p1,
const TValue p2 
)

◆ luaG_runerror()

void luaG_runerror ( lua_State L,
const char *  fmt,
  ... 
)

◆ luaG_tointerror()

void luaG_tointerror ( lua_State L,
const TValue p1,
const TValue p2 
)

◆ luaG_traceexec()

void luaG_traceexec ( lua_State L)

◆ luaG_typeerror()

void luaG_typeerror ( lua_State L,
const TValue o,
const char *  opname 
)