projects
/
platform
/
upstream
/
efl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
dde07e2
)
Pyolian: correctly define c_type as a property
author
Dave Andreoli
<dave@gurumeditation.it>
Fri, 11 Oct 2019 06:17:56 +0000
(08:17 +0200)
committer
Jongmin Lee
<jm105.lee@samsung.com>
Sun, 13 Oct 2019 21:38:49 +0000
(06:38 +0900)
src/scripts/pyolian/eolian.py
patch
|
blob
|
history
diff --git
a/src/scripts/pyolian/eolian.py
b/src/scripts/pyolian/eolian.py
index
abb8e17
..
9ab6abd
100644
(file)
--- 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))