"lua_debug", "lua_callhook" and "lua_linehook" must be inside "lua_state".
This commit is contained in:
13
luadebug.h
13
luadebug.h
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
** $Id: luadebug.h,v 1.3 1998/09/07 18:59:59 roberto Exp roberto $
|
||||
** $Id: luadebug.h,v 1.4 1999/01/15 13:11:22 roberto Exp roberto $
|
||||
** Debugging API
|
||||
** See Copyright Notice in lua.h
|
||||
*/
|
||||
@@ -26,14 +26,9 @@ int lua_setlocal (lua_Function func, int local_number);
|
||||
|
||||
int lua_nups (lua_Function func);
|
||||
|
||||
extern lua_LHFunction lua_linehook;
|
||||
extern lua_CHFunction lua_callhook;
|
||||
extern int lua_debug;
|
||||
|
||||
|
||||
extern lua_LHFunction lua_setlinehook (lua_LHFunction func);
|
||||
extern lua_CHFunction lua_setcallhook (lua_CHFunction func);
|
||||
extern int lua_setdebug (int debug);
|
||||
lua_LHFunction lua_setlinehook (lua_LHFunction func);
|
||||
lua_CHFunction lua_setcallhook (lua_CHFunction func);
|
||||
int lua_setdebug (int debug);
|
||||
|
||||
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user