From d80659759bcbcabf8b964356e5c9c867cd55effd Mon Sep 17 00:00:00 2001 From: Roberto Ierusalimschy Date: Tue, 17 Oct 1995 12:12:45 -0200 Subject: new module luadebug.h. --- opcode.c | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'opcode.c') diff --git a/opcode.c b/opcode.c index 5b5d7601..fce78f72 100644 --- a/opcode.c +++ b/opcode.c @@ -3,7 +3,7 @@ ** TecCGraf - PUC-Rio */ -char *rcs_opcode="$Id: opcode.c,v 3.43 1995/10/13 15:16:25 roberto Exp roberto $"; +char *rcs_opcode="$Id: opcode.c,v 3.44 1995/10/17 11:58:41 roberto Exp roberto $"; #include #include @@ -11,6 +11,7 @@ char *rcs_opcode="$Id: opcode.c,v 3.43 1995/10/13 15:16:25 roberto Exp roberto $ #include #include +#include "luadebug.h" #include "mem.h" #include "opcode.h" #include "hash.h" @@ -353,7 +354,7 @@ void lua_error (char *s) } -lua_Object luaD_stackedfunction (int level) +lua_Object lua_stackedfunction (int level) { Object *p = top; while (--p >= stack) @@ -364,7 +365,7 @@ lua_Object luaD_stackedfunction (int level) } -void luaD_funcInfo (lua_Object func, char **filename, char **funcname, +void lua_funcinfo (lua_Object func, char **filename, char **funcname, char **objname, int *linedefined) { return luaI_funcInfo(Address(func), filename, funcname, objname, linedefined); -- cgit v1.2.3-55-g6feb