davemds pushed a commit to branch master.

http://git.enlightenment.org/core/efl.git/commit/?id=3c0e9b424d5d6741effad8b79d365d9c8bba9dfb

commit 3c0e9b424d5d6741effad8b79d365d9c8bba9dfb
Author: Dave Andreoli <d...@gurumeditation.it>
Date:   Fri Oct 11 08:17:56 2019 +0200

    Pyolian: correctly define c_type as a property
---
 src/scripts/pyolian/eolian.py | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/src/scripts/pyolian/eolian.py b/src/scripts/pyolian/eolian.py
index abb8e17a94..9ab6abd01e 100644
--- a/src/scripts/pyolian/eolian.py
+++ b/src/scripts/pyolian/eolian.py
@@ -1137,7 +1137,8 @@ class Type(Object):
     def builtin_type(self):
         return Eolian_Type_Builtin_Type(lib.eolian_type_builtin_type_get(self))
 
-    def c_type_get(self):
+    @cached_property
+    def c_type(self):
         s = lib.eolian_type_c_type_get(self)
         ret = _str_to_py(s)
         lib.eina_stringshare_del(c_void_p(s))

-- 


Reply via email to