luadebug.h 672 B

123456789101112131415161718192021222324
  1. /*
  2. ** LUA - Linguagem para Usuarios de Aplicacao
  3. ** Grupo de Tecnologia em Computacao Grafica
  4. ** TeCGraf - PUC-Rio
  5. ** $Id: luadebug.h,v 1.2 1995/10/26 14:21:56 roberto Exp $
  6. */
  7. #ifndef luadebug_h
  8. #define luadebug_h
  9. #include "lua.h"
  10. typedef void (*lua_LHFunction) (int line);
  11. typedef void (*lua_CHFunction) (lua_Object func, char *file, int line);
  12. lua_Object lua_stackedfunction(int level);
  13. void lua_funcinfo (lua_Object func, char **filename, int *linedefined);
  14. int lua_currentline (lua_Object func);
  15. char *lua_getobjname (lua_Object o, char **name);
  16. lua_LHFunction lua_setlinehook (lua_LHFunction hook);
  17. lua_CHFunction lua_setcallhook (lua_CHFunction hook);
  18. #endif