summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKai Huuhko <kai.huuhko@gmail.com>2016-01-23 15:36:10 +0200
committerKai Huuhko <kai.huuhko@gmail.com>2016-01-23 15:38:06 +0200
commitfa69908d712375ad599431eedeb7ef01bede83ff (patch)
tree931110a661d76d22e9af9c71289b0aea9de43972
parent86aa8c51383999a424d58bdc322fe231c53e39ea (diff)
Eo: Add a private dict which can be used for callbacks etc.
-rw-r--r--efl/eo/efl.eo.pyx1
-rw-r--r--include/efl.eo.pxd1
2 files changed, 2 insertions, 0 deletions
diff --git a/efl/eo/efl.eo.pyx b/efl/eo/efl.eo.pyx
index bd38c2f..13cf9df 100644
--- a/efl/eo/efl.eo.pyx
+++ b/efl/eo/efl.eo.pyx
@@ -235,6 +235,7 @@ cdef class Eo(object):
235 235
236 def __cinit__(self): 236 def __cinit__(self):
237 self.data = dict() 237 self.data = dict()
238 self.internal_data = dict()
238 239
239 def __init__(self, *args, **kwargs): 240 def __init__(self, *args, **kwargs):
240 if type(self) is Eo: 241 if type(self) is Eo:
diff --git a/include/efl.eo.pxd b/include/efl.eo.pxd
index 6d87428..3bee06f 100644
--- a/include/efl.eo.pxd
+++ b/include/efl.eo.pxd
@@ -23,6 +23,7 @@ cdef:
23 cdef: 23 cdef:
24 cEo *obj 24 cEo *obj
25 readonly dict data 25 readonly dict data
26 dict internal_data
26 27
27 int _set_obj(self, cEo *obj) except 0 28 int _set_obj(self, cEo *obj) except 0
28 int _set_properties_from_keyword_args(self, dict kwargs) except 0 29 int _set_properties_from_keyword_args(self, dict kwargs) except 0