functions now may be declared with any "var" as a name;
therefore they do not have a "baptism" name. Changes in debug API to acomodate that.
This commit is contained in:
4
func.h
4
func.h
@@ -2,6 +2,7 @@
|
||||
#define func_h
|
||||
|
||||
#include "types.h"
|
||||
#include "lua.h"
|
||||
|
||||
/*
|
||||
** Header para funcoes.
|
||||
@@ -13,12 +14,11 @@ typedef struct TFunc
|
||||
int size;
|
||||
Byte *code;
|
||||
int lineDefined;
|
||||
char *name1; /* function or method name (or null if main) */
|
||||
char *name2; /* object name (or null if not method) */
|
||||
char *fileName;
|
||||
} TFunc;
|
||||
|
||||
Long luaI_funccollector (void);
|
||||
void luaI_insertfunction (TFunc *f);
|
||||
|
||||
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user