From 3c0e9b424d5d6741effad8b79d365d9c8bba9dfb Mon Sep 17 00:00:00 2001 From: Dave Andreoli Date: Fri, 11 Oct 2019 08:17:56 +0200 Subject: [PATCH] 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))