diff options
Diffstat (limited to 'src/libraries/Runnr.h')
-rw-r--r-- | src/libraries/Runnr.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/libraries/Runnr.h b/src/libraries/Runnr.h index 63e0afc..a2098d9 100644 --- a/src/libraries/Runnr.h +++ b/src/libraries/Runnr.h | |||
@@ -30,6 +30,13 @@ typedef enum | |||
30 | typedef struct _LuaCompile LuaCompile; | 30 | typedef struct _LuaCompile LuaCompile; |
31 | typedef void (* compileCb)(LuaCompile *compiler); | 31 | typedef void (* compileCb)(LuaCompile *compiler); |
32 | 32 | ||
33 | typedef struct _compileMessage | ||
34 | { | ||
35 | Eina_Clist node; | ||
36 | char *message; | ||
37 | int type, column, line; | ||
38 | } compileMessage; | ||
39 | |||
33 | typedef struct _LuaCompile | 40 | typedef struct _LuaCompile |
34 | { | 41 | { |
35 | char *file, *SID, *luaName; | 42 | char *file, *SID, *luaName; |
@@ -38,6 +45,7 @@ typedef struct _LuaCompile | |||
38 | compileCb parser; | 45 | compileCb parser; |
39 | compileCb cb; | 46 | compileCb cb; |
40 | boolean doConstants; | 47 | boolean doConstants; |
48 | Eina_Clist messages; // HEAD for error and warning messages. | ||
41 | } LuaCompiler; | 49 | } LuaCompiler; |
42 | 50 | ||
43 | typedef struct _script script; | 51 | typedef struct _script script; |