summaryrefslogtreecommitdiff
path: root/include/efl.c_eo.pxd
diff options
context:
space:
mode:
authordavemds <dave@gurumeditation.it>2014-04-14 21:41:38 +0200
committerdavemds <dave@gurumeditation.it>2014-04-14 21:41:38 +0200
commitcc02387266c0561be0ed47df294b01472c6bad61 (patch)
tree5d095b62d0168b63415da9d3bc21fff784ebc3e5 /include/efl.c_eo.pxd
parent6408f8d318ef2258fd35d0dfd134ff113ea2bb7a (diff)
Adjust the bindings to work with Eo2
Diffstat (limited to 'include/efl.c_eo.pxd')
-rw-r--r--include/efl.c_eo.pxd42
1 files changed, 20 insertions, 22 deletions
diff --git a/include/efl.c_eo.pxd b/include/efl.c_eo.pxd
index 7639c6d..25c4c43 100644
--- a/include/efl.c_eo.pxd
+++ b/include/efl.c_eo.pxd
@@ -28,22 +28,21 @@ cdef extern from "Eo.h":
28 ctypedef struct Eo_Event_Description: 28 ctypedef struct Eo_Event_Description:
29 const char *name 29 const char *name
30 const char *doc 30 const char *doc
31 Eina_Bool unfreezable
31 32
32 ctypedef unsigned int Eo_Op
33
34 ctypedef Eo_Op EO_BASE_BASE_ID
35 33
36 #################################################################### 34 ####################################################################
37 # Eo Events 35 # Eo Events
38 # 36 #
39 cdef const Eo_Event_Description *EO_EV_DEL 37 cdef const Eo_Event_Description *EO_EV_DEL
40 38
39
41 #################################################################### 40 ####################################################################
42 # Other typedefs 41 # Other typedefs
43 # 42 #
44 ctypedef Eina_Bool (*Eo_Event_Cb)(void *data, Eo *obj, const Eo_Event_Description *desc, void *event_info) 43 ctypedef Eina_Bool (*Eo_Event_Cb)(void *data, Eo *obj, const Eo_Event_Description *desc, void *event_info)
45 44
46 ctypedef void (*eo_base_data_free_func)(void *) 45 ctypedef void (*eo_key_data_free_func)(void *)
47 46
48 47
49 #################################################################### 48 ####################################################################
@@ -58,32 +57,31 @@ cdef extern from "Eo.h":
58 int eo_ref_get(const Eo *obj) 57 int eo_ref_get(const Eo *obj)
59 void eo_del(const Eo *obj) 58 void eo_del(const Eo *obj)
60 59
61 Eo_Op eo_wref_add(Eo *obj) 60 void eo_wref_add(Eo **wref)
62 61
63 Eina_Bool eo_do(Eo *obj, ...) 62 void *eo_do(Eo *obj, ...)
64 Eina_Bool eo_class_do(Eo_Class *cls, ...)
65 const Eo_Class *eo_base_class_get() 63 const Eo_Class *eo_base_class_get()
66 64
67 Eo_Op eo_base_data_set(const char *key, const void *data, eo_base_data_free_func free_func) 65 void eo_key_data_set(const char *key, const void *data, eo_key_data_free_func free_func)
68 Eo_Op eo_base_data_get(const char *key, void **data) 66 void *eo_key_data_get(const char *key)
69 Eo_Op eo_base_data_del(const char *key) 67 void eo_key_data_del(const char *key)
70 68
71 const Eo_Class *eo_class_get(const Eo *obj) 69 const Eo_Class *eo_class_get(const Eo *obj)
72 const char *eo_class_name_get(const Eo_Class *klass) 70 const char *eo_class_name_get(const Eo_Class *klass)
73 71
74 Eo_Op eo_parent_set(Eo *parent) 72 void eo_parent_set(Eo *parent)
75 Eo_Op eo_parent_get(Eo **parent) 73 Eo *eo_parent_get()
76 74
77 Eo_Op eo_event_callback_forwarder_add(const Eo_Event_Description *desc, Eo *new_obj) 75 void eo_event_callback_forwarder_add(const Eo_Event_Description *desc, Eo *new_obj)
78 Eo_Op eo_event_callback_forwarder_del(const Eo_Event_Description *desc, Eo *new_obj) 76 void eo_event_callback_forwarder_del(const Eo_Event_Description *desc, Eo *new_obj)
79 77
80 Eo_Op eo_event_freeze() 78 void eo_event_freeze()
81 Eo_Op eo_event_thaw() 79 void eo_event_thaw()
82 Eo_Op eo_event_freeze_get(int *fcount) 80 int eo_event_freeze_get()
83 81
84 Eo_Op eo_event_global_freeze() 82 void eo_event_global_freeze()
85 Eo_Op eo_event_global_thaw() 83 void eo_event_global_thaw()
86 Eo_Op eo_event_global_freeze_get(int *fcount) 84 int eo_event_global_freeze_get()
87 85
88 Eo_Op eo_event_callback_add(const Eo_Event_Description *desc, Eo_Event_Cb cb, const void *data) 86 void eo_event_callback_add(const Eo_Event_Description *desc, Eo_Event_Cb cb, const void *data)
89 Eo_Op eo_event_callback_del(const Eo_Event_Description *desc, Eo_Event_Cb cb, const void *data) 87 void eo_event_callback_del(const Eo_Event_Description *desc, Eo_Event_Cb cb, const void *data)