diff options
author | Daniel Kolesa <d.kolesa@osg.samsung.com> | 2017-05-18 16:31:03 +0200 |
---|---|---|
committer | Daniel Kolesa <d.kolesa@osg.samsung.com> | 2017-05-30 17:15:53 +0200 |
commit | 653cf6bac37f6d74bd18d1088a7fb2ce6d661bc2 (patch) | |
tree | 2c170fecf5775c030743ae621c634e3e2eae7683 /src/bindings | |
parent | 6d453bc6944897c6f0de34f3c7592f608061d320 (diff) | |
download | efl-653cf6bac37f6d74bd18d1088a7fb2ce6d661bc2.tar.gz |
eolian: make by-name variable lookups take unit
Diffstat (limited to 'src/bindings')
-rw-r--r-- | src/bindings/luajit/eolian.lua | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/bindings/luajit/eolian.lua b/src/bindings/luajit/eolian.lua index d98e047c19..8177aa5f78 100644 --- a/src/bindings/luajit/eolian.lua +++ b/src/bindings/luajit/eolian.lua @@ -367,8 +367,8 @@ ffi.cdef [[ Eolian_Unary_Operator eolian_expression_unary_operator_get(const Eolian_Expression *expr); const Eolian_Expression *eolian_expression_unary_expression_get(const Eolian_Expression *expr); Eolian_Value_t eolian_expression_value_get(const Eolian_Expression *expr); - const Eolian_Variable *eolian_variable_global_get_by_name(const char *name); - const Eolian_Variable *eolian_variable_constant_get_by_name(const char *name); + const Eolian_Variable *eolian_variable_global_get_by_name(const Eolian_Unit *unit, const char *name); + const Eolian_Variable *eolian_variable_constant_get_by_name(const Eolian_Unit *unit, const char *name); Eina_Iterator *eolian_variable_globals_get_by_file(const char *fname); Eina_Iterator *eolian_variable_constants_get_by_file(const char *fname); Eina_Iterator *eolian_variable_all_constants_get(void); @@ -1362,14 +1362,14 @@ M.Expression = ffi.metatype("Eolian_Expression", { } }) -M.variable_global_get_by_name = function(name) - local v = eolian.eolian_variable_global_get_by_name(name) +M.variable_global_get_by_name = function(unit, name) + local v = eolian.eolian_variable_global_get_by_name(unit, name) if v == nil then return nil end return v end -M.variable_constant_get_by_name = function(name) - local v = eolian.eolian_variable_constant_get_by_name(name) +M.variable_constant_get_by_name = function(unit, name) + local v = eolian.eolian_variable_constant_get_by_name(unit, name) if v == nil then return nil end return v end |