#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include "lua.h"
#include "lauxlib.h"
#include "lualib.h"
gehe zum Quellcode dieser Datei
|
#define | ldblib_c |
|
#define | LUA_LIB |
|
#define | LEVELS1 12 /* size of the first part of the stack */ |
|
#define | LEVELS2 10 /* size of the second part of the stack */ |
|
|
static int | db_getregistry (lua_State *L) |
|
static int | db_getmetatable (lua_State *L) |
|
static int | db_setmetatable (lua_State *L) |
|
static int | db_getfenv (lua_State *L) |
|
static int | db_setfenv (lua_State *L) |
|
static void | settabss (lua_State *L, const char *i, const char *v) |
|
static void | settabsi (lua_State *L, const char *i, int v) |
|
static lua_State * | getthread (lua_State *L, int *arg) |
|
static void | treatstackoption (lua_State *L, lua_State *L1, const char *fname) |
|
static int | db_getinfo (lua_State *L) |
|
static int | db_getlocal (lua_State *L) |
|
static int | db_setlocal (lua_State *L) |
|
static int | auxupvalue (lua_State *L, int get) |
|
static int | db_getupvalue (lua_State *L) |
|
static int | db_setupvalue (lua_State *L) |
|
static void | hookf (lua_State *L, lua_Debug *ar) |
|
static int | makemask (const char *smask, int count) |
|
static char * | unmakemask (int mask, char *smask) |
|
static void | gethooktable (lua_State *L) |
|
static int | db_sethook (lua_State *L) |
|
static int | db_gethook (lua_State *L) |
|
static int | db_errorfb (lua_State *L) |
|
LUALIB_API int | luaopen_debug (lua_State *L) |
|
#define LEVELS1 12 /* size of the first part of the stack */ |
#define LEVELS2 10 /* size of the second part of the stack */ |
static int auxupvalue |
( |
lua_State * |
L, |
|
|
int |
get |
|
) |
| |
|
static |
Definiert in Zeile 322 der Datei ldblib.c.
333 level = (L == L1) ? 1 : 0;
340 if (level >
LEVELS1 && firstpart) {
362 else if (*ar.
what ==
'C' || *ar.
what ==
't')
Definiert in Zeile 54 der Datei ldblib.c.
59 " cannot change environment of given object");
Definiert in Zeile 258 der Datei ldblib.c.
264 func =
NULL; mask = 0; count = 0;
Definiert in Zeile 37 der Datei ldblib.c.
40 "nil or table expected");
Definiert in Zeile 207 der Datei ldblib.c.
208 static const char *
const hooknames[] =
209 {
"call",
"return",
"line",
"count",
"tail return"};
static int makemask |
( |
const char * |
smask, |
|
|
int |
count |
|
) |
| |
|
static |
static char* unmakemask |
( |
int |
mask, |
|
|
char * |
smask |
|
) |
| |
|
static |
Initialisierung:
Definiert in Zeile 375 der Datei ldblib.c.