Eo: Add a private dict which can be used for callbacks etc.
This commit is contained in:
parent
86aa8c5138
commit
fa69908d71
|
@ -235,6 +235,7 @@ cdef class Eo(object):
|
|||
|
||||
def __cinit__(self):
|
||||
self.data = dict()
|
||||
self.internal_data = dict()
|
||||
|
||||
def __init__(self, *args, **kwargs):
|
||||
if type(self) is Eo:
|
||||
|
|
|
@ -23,6 +23,7 @@ cdef:
|
|||
cdef:
|
||||
cEo *obj
|
||||
readonly dict data
|
||||
dict internal_data
|
||||
|
||||
int _set_obj(self, cEo *obj) except 0
|
||||
int _set_properties_from_keyword_args(self, dict kwargs) except 0
|
||||
|
|
Loading…
Reference in New Issue