aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/libraries/luajit-2.0/src/lj_debug.h
diff options
context:
space:
mode:
Diffstat (limited to 'libraries/luajit-2.0/src/lj_debug.h')
-rw-r--r--libraries/luajit-2.0/src/lj_debug.h41
1 files changed, 0 insertions, 41 deletions
diff --git a/libraries/luajit-2.0/src/lj_debug.h b/libraries/luajit-2.0/src/lj_debug.h
deleted file mode 100644
index f82fdfe..0000000
--- a/libraries/luajit-2.0/src/lj_debug.h
+++ /dev/null
@@ -1,41 +0,0 @@
1/*
2** Debugging and introspection.
3** Copyright (C) 2005-2011 Mike Pall. See Copyright Notice in luajit.h
4*/
5
6#ifndef _LJ_DEBUG_H
7#define _LJ_DEBUG_H
8
9#include "lj_obj.h"
10
11LJ_FUNC cTValue *lj_debug_frame(lua_State *L, int level, int *size);
12LJ_FUNC BCLine LJ_FASTCALL lj_debug_line(GCproto *pt, BCPos pc);
13LJ_FUNC const char *lj_debug_uvname(GCproto *pt, uint32_t idx);
14LJ_FUNC const char *lj_debug_uvnamev(cTValue *o, uint32_t idx, TValue **tvp);
15LJ_FUNC const char *lj_debug_slotname(GCproto *pt, const BCIns *pc,
16 BCReg slot, const char **name);
17LJ_FUNC const char *lj_debug_funcname(lua_State *L, TValue *frame,
18 const char **name);
19LJ_FUNC void lj_debug_shortname(char *out, GCstr *str);
20LJ_FUNC void lj_debug_addloc(lua_State *L, const char *msg,
21 cTValue *frame, cTValue *nextframe);
22LJ_FUNC void lj_debug_pushloc(lua_State *L, GCproto *pt, BCPos pc);
23
24/* Fixed internal variable names. */
25#define VARNAMEDEF(_) \
26 _(FOR_IDX, "(for index)") \
27 _(FOR_STOP, "(for limit)") \
28 _(FOR_STEP, "(for step)") \
29 _(FOR_GEN, "(for generator)") \
30 _(FOR_STATE, "(for state)") \
31 _(FOR_CTL, "(for control)")
32
33enum {
34 VARNAME_END,
35#define VARNAMEENUM(name, str) VARNAME_##name,
36 VARNAMEDEF(VARNAMEENUM)
37#undef VARNAMEENUM
38 VARNAME__MAX
39};
40
41#endif