diff options
Diffstat (limited to 'func.h')
-rw-r--r-- | func.h | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -2,6 +2,7 @@ | |||
2 | #define func_h | 2 | #define func_h |
3 | 3 | ||
4 | #include "types.h" | 4 | #include "types.h" |
5 | #include "lua.h" | ||
5 | 6 | ||
6 | /* | 7 | /* |
7 | ** Header para funcoes. | 8 | ** Header para funcoes. |
@@ -13,12 +14,11 @@ typedef struct TFunc | |||
13 | int size; | 14 | int size; |
14 | Byte *code; | 15 | Byte *code; |
15 | int lineDefined; | 16 | int lineDefined; |
16 | char *name1; /* function or method name (or null if main) */ | ||
17 | char *name2; /* object name (or null if not method) */ | ||
18 | char *fileName; | 17 | char *fileName; |
19 | } TFunc; | 18 | } TFunc; |
20 | 19 | ||
21 | Long luaI_funccollector (void); | 20 | Long luaI_funccollector (void); |
22 | void luaI_insertfunction (TFunc *f); | 21 | void luaI_insertfunction (TFunc *f); |
23 | 22 | ||
23 | |||
24 | #endif | 24 | #endif |