summaryrefslogtreecommitdiff
path: root/src/bindings
diff options
context:
space:
mode:
authorDaniel Kolesa <d.kolesa@osg.samsung.com>2017-01-13 15:40:29 +0100
committerDaniel Kolesa <d.kolesa@osg.samsung.com>2017-01-13 15:40:29 +0100
commit692ae7adb65d700c0387696a9fd789fe761ccfca (patch)
tree90b2117e6b9b76bf8a27c098db66a950ae679f87 /src/bindings
parenta70645e154950140c8d3883a5bc99d3d259ff32a (diff)
eolian: use consistent pure_virtual naming in API
Previously one API used just virtual (incorrect) and one used virtual_pure (which just sounds weird). So unify with a single name, pure_virtual, similar as in other lanugages. This does not change eo file syntax yet.
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 e9dc676..fb8be57 100644
--- a/src/bindings/luajit/eolian.lua
+++ b/src/bindings/luajit/eolian.lua
@@ -250,7 +250,7 @@ ffi.cdef [[
250 const Eolian_Function *eolian_class_function_get_by_name(const Eolian_Class *klass, const char *func_name, Eolian_Function_Type f_type); 250 const Eolian_Function *eolian_class_function_get_by_name(const Eolian_Class *klass, const char *func_name, Eolian_Function_Type f_type);
251 const char *eolian_function_legacy_get(const Eolian_Function *function_id, Eolian_Function_Type f_type); 251 const char *eolian_function_legacy_get(const Eolian_Function *function_id, Eolian_Function_Type f_type);
252 const Eolian_Documentation *eolian_function_documentation_get(const Eolian_Function *function_id, Eolian_Function_Type f_type); 252 const Eolian_Documentation *eolian_function_documentation_get(const Eolian_Function *function_id, Eolian_Function_Type f_type);
253 Eina_Bool eolian_function_is_virtual_pure(const Eolian_Function *function_id, Eolian_Function_Type f_type); 253 Eina_Bool eolian_function_is_pure_virtual(const Eolian_Function *function_id, Eolian_Function_Type f_type);
254 Eina_Bool eolian_function_is_auto(const Eolian_Function *function_id, Eolian_Function_Type f_type); 254 Eina_Bool eolian_function_is_auto(const Eolian_Function *function_id, Eolian_Function_Type f_type);
255 Eina_Bool eolian_function_is_empty(const Eolian_Function *function_id, Eolian_Function_Type f_type); 255 Eina_Bool eolian_function_is_empty(const Eolian_Function *function_id, Eolian_Function_Type f_type);
256 Eina_Bool eolian_function_is_legacy_only(const Eolian_Function *function_id, Eolian_Function_Type ftype); 256 Eina_Bool eolian_function_is_legacy_only(const Eolian_Function *function_id, Eolian_Function_Type ftype);
@@ -277,7 +277,7 @@ ffi.cdef [[
277 const Eolian_Function *eolian_implement_function_get(const Eolian_Implement *impl, Eolian_Function_Type *func_type); 277 const Eolian_Function *eolian_implement_function_get(const Eolian_Implement *impl, Eolian_Function_Type *func_type);
278 Eina_Bool eolian_implement_is_auto(const Eolian_Implement *impl, Eolian_Function_Type ftype); 278 Eina_Bool eolian_implement_is_auto(const Eolian_Implement *impl, Eolian_Function_Type ftype);
279 Eina_Bool eolian_implement_is_empty(const Eolian_Implement *impl, Eolian_Function_Type ftype); 279 Eina_Bool eolian_implement_is_empty(const Eolian_Implement *impl, Eolian_Function_Type ftype);
280 Eina_Bool eolian_implement_is_virtual(const Eolian_Implement *impl, Eolian_Function_Type ftype); 280 Eina_Bool eolian_implement_is_pure_virtual(const Eolian_Implement *impl, Eolian_Function_Type ftype);
281 Eina_Bool eolian_implement_is_prop_get(const Eolian_Implement *impl); 281 Eina_Bool eolian_implement_is_prop_get(const Eolian_Implement *impl);
282 Eina_Bool eolian_implement_is_prop_set(const Eolian_Implement *impl); 282 Eina_Bool eolian_implement_is_prop_set(const Eolian_Implement *impl);
283 Eina_Iterator *eolian_class_implements_get(const Eolian_Class *klass); 283 Eina_Iterator *eolian_class_implements_get(const Eolian_Class *klass);
@@ -783,8 +783,8 @@ M.Function = ffi.metatype("Eolian_Function", {
783 return v 783 return v
784 end, 784 end,
785 785
786 is_virtual_pure = function(self, ftype) 786 is_pure_virtual = function(self, ftype)
787 return eolian.eolian_function_is_virtual_pure(self, ftype) ~= 0 787 return eolian.eolian_function_is_pure_virtual(self, ftype) ~= 0
788 end, 788 end,
789 789
790 is_auto = function(self, ftype) 790 is_auto = function(self, ftype)
@@ -931,8 +931,8 @@ ffi.metatype("Eolian_Implement", {
931 return eolian.eolian_implement_is_empty(self, ftype) ~= 0 931 return eolian.eolian_implement_is_empty(self, ftype) ~= 0
932 end, 932 end,
933 933
934 is_virtual = function(self, ftype) 934 is_pure_virtual = function(self, ftype)
935 return eolian.eolian_implement_is_virtual(self, ftype) ~= 0 935 return eolian.eolian_implement_is_pure_virtual(self, ftype) ~= 0
936 end, 936 end,
937 937
938 is_prop_get = function(self) 938 is_prop_get = function(self)