summaryrefslogtreecommitdiff
path: root/src/bindings
diff options
context:
space:
mode:
authorDaniel Kolesa <d.kolesa@osg.samsung.com>2017-05-16 16:13:15 +0200
committerDaniel Kolesa <d.kolesa@osg.samsung.com>2017-05-30 17:15:53 +0200
commit7da0549970a89c7b7d85451ab78102e6f4289103 (patch)
tree2b1174b92d9ebe3b9c7e78878563947a0c477135 /src/bindings
parent91411c5389b84412a983617f7577244e715fb056 (diff)
eolian: make eolian_file_parse return unit
Diffstat (limited to 'src/bindings')
-rw-r--r--src/bindings/luajit/eolian.lua5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/bindings/luajit/eolian.lua b/src/bindings/luajit/eolian.lua
index 0079928..d98e047 100644
--- a/src/bindings/luajit/eolian.lua
+++ b/src/bindings/luajit/eolian.lua
@@ -28,6 +28,7 @@ ffi.cdef [[
28 typedef struct _Eolian_Declaration Eolian_Declaration; 28 typedef struct _Eolian_Declaration Eolian_Declaration;
29 typedef struct _Eolian_Documentation Eolian_Documentation; 29 typedef struct _Eolian_Documentation Eolian_Documentation;
30 typedef struct _Eolian_Value Eolian_Value; 30 typedef struct _Eolian_Value Eolian_Value;
31 typedef struct _Eolian_Unit Eolian_Unit;
31 32
32 typedef enum 33 typedef enum
33 { 34 {
@@ -217,7 +218,7 @@ ffi.cdef [[
217 const char *text, *text_end; 218 const char *text, *text_end;
218 } Eolian_Doc_Token; 219 } Eolian_Doc_Token;
219 220
220 Eina_Bool eolian_file_parse(const char *filepath); 221 const Eolian_Unit *eolian_file_parse(const char *filepath);
221 Eina_Iterator *eolian_all_eo_file_paths_get(void); 222 Eina_Iterator *eolian_all_eo_file_paths_get(void);
222 Eina_Iterator *eolian_all_eot_file_paths_get(void); 223 Eina_Iterator *eolian_all_eot_file_paths_get(void);
223 Eina_Iterator *eolian_all_eo_files_get(void); 224 Eina_Iterator *eolian_all_eo_files_get(void);
@@ -448,7 +449,7 @@ M.system_directory_scan = function()
448end 449end
449 450
450M.file_parse = function(fpath) 451M.file_parse = function(fpath)
451 return eolian.eolian_file_parse(fpath) ~= 0 452 return eolian.eolian_file_parse(fpath)
452end 453end
453 454
454M.all_eo_files_parse = function() 455M.all_eo_files_parse = function()