summaryrefslogtreecommitdiff
path: root/src/bindings
diff options
context:
space:
mode:
authorDaniel Kolesa <d.kolesa@osg.samsung.com>2015-05-22 17:32:21 +0100
committerDaniel Kolesa <d.kolesa@osg.samsung.com>2015-05-22 17:32:21 +0100
commita7dea04b2642397d3d545e2dbd0885939180d76c (patch)
treede357451c5368e2c1ca2f544db8f30729728dc71 /src/bindings
parentd5599521172af414beb63ad52d68830e0c6fa1f4 (diff)
eolian: merge eo_file_parse and eot_file_parse
Diffstat (limited to 'src/bindings')
-rw-r--r--src/bindings/luajit/eolian.lua15
1 files changed, 5 insertions, 10 deletions
diff --git a/src/bindings/luajit/eolian.lua b/src/bindings/luajit/eolian.lua
index 8775759546..02aae3fc2e 100644
--- a/src/bindings/luajit/eolian.lua
+++ b/src/bindings/luajit/eolian.lua
@@ -166,8 +166,7 @@ ffi.cdef [[
166 EOLIAN_UNOP_BNOT, /* ~ int */ 166 EOLIAN_UNOP_BNOT, /* ~ int */
167 } Eolian_Unary_Operator; 167 } Eolian_Unary_Operator;
168 168
169 Eina_Bool eolian_eo_file_parse(const char *filename); 169 Eina_Bool eolian_file_parse(const char *filepath);
170 Eina_Bool eolian_eot_file_parse(const char *filepath);
171 Eina_Iterator *eolian_all_eo_file_paths_get(void); 170 Eina_Iterator *eolian_all_eo_file_paths_get(void);
172 Eina_Iterator *eolian_all_eot_file_paths_get(void); 171 Eina_Iterator *eolian_all_eot_file_paths_get(void);
173 Eina_Iterator *eolian_all_eo_files_get(void); 172 Eina_Iterator *eolian_all_eo_files_get(void);
@@ -358,12 +357,12 @@ M.system_directory_scan = function()
358 return eolian.eolian_system_directory_scan() ~= 0 357 return eolian.eolian_system_directory_scan() ~= 0
359end 358end
360 359
361M.all_eo_files_parse = function() 360M.file_parse = function(fpath)
362 return eolian.eolian_all_eo_files_parse() ~= 0 361 return eolian.eolian_file_parse(fpath) ~= 0
363end 362end
364 363
365M.eo_file_parse = function(fname) 364M.all_eo_files_parse = function()
366 return eolian.eolian_eo_file_parse(fname) ~= 0 365 return eolian.eolian_all_eo_files_parse() ~= 0
367end 366end
368 367
369M.all_eot_files_parse = function() 368M.all_eot_files_parse = function()
@@ -390,10 +389,6 @@ M.database_validate = function()
390 return eolian.eolian_database_validate() ~= 0 389 return eolian.eolian_database_validate() ~= 0
391end 390end
392 391
393M.eot_file_parse = function(fname)
394 return eolian.eolian_eot_file_parse(fname) ~= 0
395end
396
397M.show_class = function(klass) 392M.show_class = function(klass)
398 return eolian.eolian_show_class(klass) ~= 0 393 return eolian.eolian_show_class(klass) ~= 0
399end 394end