ResidualVM logo ResidualVM website - Forums - Contact us BuildBot - Doxygen - Wiki curved edge

luadebug.h

Go to the documentation of this file.
00001 /*
00002 ** Debugging API
00003 ** See Copyright Notice in lua.h
00004 */
00005 
00006 
00007 #ifndef GRIM_LUADEBUG_H
00008 #define GRIM_LUADEBUG_H
00009 
00010 
00011 #include "engines/grim/lua/lua.h"
00012 
00013 namespace Grim {
00014 
00015 typedef lua_Object lua_Function;
00016 
00017 typedef void (*lua_LHFunction)(int32 line);
00018 typedef void (*lua_CHFunction)(lua_Function func, const char *file, int32 line);
00019 
00020 lua_Function lua_stackedfunction(int32 level);
00021 void lua_funcinfo(lua_Object func, const char **filename, int32 *linedefined);
00022 int32 lua_currentline(lua_Function func);
00023 const char *lua_getobjname(lua_Object o, const char **name);
00024 
00025 lua_Object lua_getlocal(lua_Function func, int32 local_number, char **name);
00026 int32 lua_setlocal(lua_Function func, int32 local_number);
00027 
00028 extern lua_LHFunction lua_linehook;
00029 extern lua_CHFunction lua_callhook;
00030 extern int32 lua_debug;
00031 
00032 } // end of namespace Grim
00033 
00034 
00035 #endif


Generated on Sat Nov 16 2019 05:00:39 for ResidualVM by doxygen 1.7.1
curved edge   curved edge