1995-10-17 17:12:45 +03:00
|
|
|
/*
|
|
|
|
** LUA - Linguagem para Usuarios de Aplicacao
|
|
|
|
** Grupo de Tecnologia em Computacao Grafica
|
|
|
|
** TeCGraf - PUC-Rio
|
1996-01-09 23:22:44 +03:00
|
|
|
** $Id: luadebug.h,v 1.2 1995/10/26 14:21:56 roberto Exp $
|
1995-10-17 17:12:45 +03:00
|
|
|
*/
|
|
|
|
|
|
|
|
|
|
|
|
#ifndef luadebug_h
|
|
|
|
#define luadebug_h
|
|
|
|
|
|
|
|
#include "lua.h"
|
|
|
|
|
1996-01-09 23:22:44 +03:00
|
|
|
typedef void (*lua_LHFunction) (int line);
|
|
|
|
typedef void (*lua_CHFunction) (lua_Object func, char *file, int line);
|
|
|
|
|
1995-10-17 17:12:45 +03:00
|
|
|
lua_Object lua_stackedfunction(int level);
|
1995-10-26 17:21:56 +03:00
|
|
|
void lua_funcinfo (lua_Object func, char **filename, int *linedefined);
|
|
|
|
int lua_currentline (lua_Object func);
|
1996-01-09 23:22:44 +03:00
|
|
|
char *lua_getobjname (lua_Object o, char **name);
|
|
|
|
lua_LHFunction lua_setlinehook (lua_LHFunction hook);
|
|
|
|
lua_CHFunction lua_setcallhook (lua_CHFunction hook);
|
1995-10-17 17:12:45 +03:00
|
|
|
|
|
|
|
#endif
|