native Lua  0.4.0
Lua on the platform you use with the compiler you choose
Macros | Functions
ldebug.c File Reference
#include "lprefix.h"
#include <stdarg.h>
#include <stddef.h>
#include <string.h>
#include "lua.h"
#include "lapi.h"
#include "lcode.h"
#include "ldebug.h"
#include "ldo.h"
#include "lfunc.h"
#include "lobject.h"
#include "lopcodes.h"
#include "lstate.h"
#include "lstring.h"
#include "ltable.h"
#include "ltm.h"
#include "lvm.h"
Include dependency graph for ldebug.c:

Macros

#define ldebug_c
 
#define LUA_CORE
 
#define noLuaClosure(f)   ((f) == NULL || (f)->c.tt == LUA_TCCL)
 
#define ci_func(ci)   (clLvalue((ci)->func))
 

Functions

LUA_API void lua_sethook (lua_State *L, lua_Hook func, int mask, int count)
 
LUA_API lua_Hook lua_gethook (lua_State *L)
 
LUA_API int lua_gethookmask (lua_State *L)
 
LUA_API int lua_gethookcount (lua_State *L)
 
LUA_API int lua_getstack (lua_State *L, int level, lua_Debug *ar)
 
LUA_API const char * lua_getlocal (lua_State *L, const lua_Debug *ar, int n)
 
LUA_API const char * lua_setlocal (lua_State *L, const lua_Debug *ar, int n)
 
LUA_API int lua_getinfo (lua_State *L, const char *what, lua_Debug *ar)
 
l_noret luaG_typeerror (lua_State *L, const TValue *o, const char *op)
 
l_noret luaG_concaterror (lua_State *L, const TValue *p1, const TValue *p2)
 
l_noret luaG_opinterror (lua_State *L, const TValue *p1, const TValue *p2, const char *msg)
 
l_noret luaG_tointerror (lua_State *L, const TValue *p1, const TValue *p2)
 
l_noret luaG_ordererror (lua_State *L, const TValue *p1, const TValue *p2)
 
const char * luaG_addinfo (lua_State *L, const char *msg, TString *src, int line)
 
l_noret luaG_errormsg (lua_State *L)
 
l_noret luaG_runerror (lua_State *L, const char *fmt,...)
 
void luaG_traceexec (lua_State *L)
 

Macro Definition Documentation

◆ ci_func

#define ci_func (   ci)    (clLvalue((ci)->func))

◆ ldebug_c

#define ldebug_c

◆ LUA_CORE

#define LUA_CORE

◆ noLuaClosure

#define noLuaClosure (   f)    ((f) == NULL || (f)->c.tt == LUA_TCCL)

Function Documentation

◆ lua_gethook()

LUA_API lua_Hook lua_gethook ( lua_State L)

◆ lua_gethookcount()

LUA_API int lua_gethookcount ( lua_State L)

◆ lua_gethookmask()

LUA_API int lua_gethookmask ( lua_State L)

◆ lua_getinfo()

LUA_API int lua_getinfo ( lua_State L,
const char *  what,
lua_Debug ar 
)

◆ lua_getlocal()

LUA_API const char* lua_getlocal ( lua_State L,
const lua_Debug ar,
int  n 
)

◆ lua_getstack()

LUA_API int lua_getstack ( lua_State L,
int  level,
lua_Debug ar 
)

◆ lua_sethook()

LUA_API void lua_sethook ( lua_State L,
lua_Hook  func,
int  mask,
int  count 
)

◆ lua_setlocal()

LUA_API const char* lua_setlocal ( lua_State L,
const lua_Debug ar,
int  n 
)

◆ luaG_addinfo()

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

◆ luaG_concaterror()

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

◆ luaG_errormsg()

l_noret luaG_errormsg ( lua_State L)

◆ luaG_opinterror()

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

◆ luaG_ordererror()

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

◆ luaG_runerror()

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

◆ luaG_tointerror()

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

◆ luaG_traceexec()

void luaG_traceexec ( lua_State L)

◆ luaG_typeerror()

l_noret luaG_typeerror ( lua_State L,
const TValue o,
const char *  op 
)