summaryrefslogtreecommitdiff
path: root/src/bindings
diff options
context:
space:
mode:
authorDaniel Kolesa <d.kolesa@osg.samsung.com>2017-05-18 16:33:31 +0200
committerDaniel Kolesa <d.kolesa@osg.samsung.com>2017-05-30 17:15:53 +0200
commitcee3b604a304cc2c6c2e27f75b56ac6914fa6aa9 (patch)
treea75065f7e6cb012f2d418e1852050e79b0cbc029 /src/bindings
parent653cf6bac37f6d74bd18d1088a7fb2ce6d661bc2 (diff)
eolian: make by-file variable lookups take unit
Diffstat (limited to 'src/bindings')
-rw-r--r--src/bindings/luajit/eolian.lua12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/bindings/luajit/eolian.lua b/src/bindings/luajit/eolian.lua
index 8177aa5..603feaa 100644
--- a/src/bindings/luajit/eolian.lua
+++ b/src/bindings/luajit/eolian.lua
@@ -369,8 +369,8 @@ ffi.cdef [[
369 Eolian_Value_t eolian_expression_value_get(const Eolian_Expression *expr); 369 Eolian_Value_t eolian_expression_value_get(const Eolian_Expression *expr);
370 const Eolian_Variable *eolian_variable_global_get_by_name(const Eolian_Unit *unit, const char *name); 370 const Eolian_Variable *eolian_variable_global_get_by_name(const Eolian_Unit *unit, const char *name);
371 const Eolian_Variable *eolian_variable_constant_get_by_name(const Eolian_Unit *unit, const char *name); 371 const Eolian_Variable *eolian_variable_constant_get_by_name(const Eolian_Unit *unit, const char *name);
372 Eina_Iterator *eolian_variable_globals_get_by_file(const char *fname); 372 Eina_Iterator *eolian_variable_globals_get_by_file(const Eolian_Unit *unit, const char *fname);
373 Eina_Iterator *eolian_variable_constants_get_by_file(const char *fname); 373 Eina_Iterator *eolian_variable_constants_get_by_file(const Eolian_Unit *unit, const char *fname);
374 Eina_Iterator *eolian_variable_all_constants_get(void); 374 Eina_Iterator *eolian_variable_all_constants_get(void);
375 Eina_Iterator *eolian_variable_all_globals_get(void); 375 Eina_Iterator *eolian_variable_all_globals_get(void);
376 Eolian_Variable_Type eolian_variable_type_get(const Eolian_Variable *var); 376 Eolian_Variable_Type eolian_variable_type_get(const Eolian_Variable *var);
@@ -1374,14 +1374,14 @@ M.variable_constant_get_by_name = function(unit, name)
1374 return v 1374 return v
1375end 1375end
1376 1376
1377M.variable_globals_get_by_file = function(fname) 1377M.variable_globals_get_by_file = function(unit, fname)
1378 return Ptr_Iterator("const Eolian_Variable*", 1378 return Ptr_Iterator("const Eolian_Variable*",
1379 eolian.eolian_variable_globals_get_by_file(fname)) 1379 eolian.eolian_variable_globals_get_by_file(unit, fname))
1380end 1380end
1381 1381
1382M.variable_constants_get_by_file = function(fname) 1382M.variable_constants_get_by_file = function(unit, fname)
1383 return Ptr_Iterator("const Eolian_Variable*", 1383 return Ptr_Iterator("const Eolian_Variable*",
1384 eolian.eolian_variable_constants_get_by_file(fname)) 1384 eolian.eolian_variable_constants_get_by_file(unit, fname))
1385end 1385end
1386 1386
1387M.variable_all_constants_get = function() 1387M.variable_all_constants_get = function()