summaryrefslogtreecommitdiff
path: root/efl
diff options
context:
space:
mode:
Diffstat (limited to 'efl')
-rw-r--r--efl/eo/efl.eo.pyx6
1 files changed, 5 insertions, 1 deletions
diff --git a/efl/eo/efl.eo.pyx b/efl/eo/efl.eo.pyx
index d9547bb..6a2cd03 100644
--- a/efl/eo/efl.eo.pyx
+++ b/efl/eo/efl.eo.pyx
@@ -95,7 +95,7 @@ cdef void _object_mapping_unregister(char *name):
95 eina_hash_del(object_mapping, name, NULL) 95 eina_hash_del(object_mapping, name, NULL)
96 96
97 97
98cdef object object_from_instance(cEo *obj): 98cdef api object object_from_instance(cEo *obj):
99 """ Create a python object from a C Eo object pointer. """ 99 """ Create a python object from a C Eo object pointer. """
100 cdef: 100 cdef:
101 void *data 101 void *data
@@ -140,6 +140,10 @@ cdef object object_from_instance(cEo *obj):
140 o._set_obj(obj) 140 o._set_obj(obj)
141 return o 141 return o
142 142
143cdef api cEo *instance_from_object(object obj):
144 cdef Eo o = obj
145 return o.obj
146
143 147
144cdef void _register_decorated_callbacks(Eo obj): 148cdef void _register_decorated_callbacks(Eo obj):
145 """ 149 """