summaryrefslogtreecommitdiff
path: root/efl/dbus_mainloop/dbus_mainloop.pxd
diff options
context:
space:
mode:
authorKai Huuhko <kai.huuhko@gmail.com>2014-04-05 03:13:15 +0300
committerKai Huuhko <kai.huuhko@gmail.com>2014-04-05 03:13:15 +0300
commitadf70fa26fcae845b0bc55c6eebcaeafadc4d1c7 (patch)
treec5bf8953e6b6081bb6542eb5372295875151df02 /efl/dbus_mainloop/dbus_mainloop.pxd
parent1149c6ed91a5dcb6e23998ba112d9e3d20a5ceb9 (diff)
Remove const hacks
They were a workaround for limitations in Cython <0.18
Diffstat (limited to 'efl/dbus_mainloop/dbus_mainloop.pxd')
-rw-r--r--efl/dbus_mainloop/dbus_mainloop.pxd3
1 files changed, 1 insertions, 2 deletions
diff --git a/efl/dbus_mainloop/dbus_mainloop.pxd b/efl/dbus_mainloop/dbus_mainloop.pxd
index 3a363a5..78f73ce 100644
--- a/efl/dbus_mainloop/dbus_mainloop.pxd
+++ b/efl/dbus_mainloop/dbus_mainloop.pxd
@@ -1,5 +1,4 @@
1from cpython cimport PyObject 1from cpython cimport PyObject
2from libc.string cimport const_char
3 2
4cdef extern from "dbus/dbus.h": 3cdef extern from "dbus/dbus.h":
5 ctypedef int dbus_bool_t 4 ctypedef int dbus_bool_t
@@ -11,7 +10,7 @@ cdef extern from "dbus/dbus-python.h":
11 ctypedef dbus_bool_t (*_dbus_py_srv_setup_func)(DBusServer *, void *) 10 ctypedef dbus_bool_t (*_dbus_py_srv_setup_func)(DBusServer *, void *)
12 ctypedef void (*_dbus_py_free_func)(void *) 11 ctypedef void (*_dbus_py_free_func)(void *)
13 PyObject *DBusPyNativeMainLoop_New4(_dbus_py_conn_setup_func conn_func, _dbus_py_srv_setup_func srv_func, _dbus_py_free_func free_func, void *) 12 PyObject *DBusPyNativeMainLoop_New4(_dbus_py_conn_setup_func conn_func, _dbus_py_srv_setup_func srv_func, _dbus_py_free_func free_func, void *)
14 int import_dbus_bindings(const_char *this_module_name) 13 int import_dbus_bindings(const char *this_module_name)
15 14
16cdef extern from "Ecore.h": 15cdef extern from "Ecore.h":
17 int ecore_init() 16 int ecore_init()