'printstack' (from ltests.c) made public
That function is useful for debugging the API.
This commit is contained in:
6
ltests.h
6
ltests.h
@@ -64,7 +64,6 @@ LUA_API Memcontrol l_memcontrol;
|
||||
extern void *l_Trick;
|
||||
|
||||
|
||||
|
||||
/*
|
||||
** Function to traverse and check all memory used by Lua
|
||||
*/
|
||||
@@ -76,6 +75,11 @@ LUAI_FUNC int lua_checkmemory (lua_State *L);
|
||||
struct GCObject;
|
||||
LUAI_FUNC void lua_printobj (lua_State *L, struct GCObject *o);
|
||||
|
||||
/*
|
||||
** Function to print the stack
|
||||
*/
|
||||
LUAI_FUNC void lua_printstack (lua_State *L);
|
||||
|
||||
|
||||
/* test for lock/unlock */
|
||||
|
||||
|
||||
Reference in New Issue
Block a user