summaryrefslogtreecommitdiff
path: root/include/efl.utils.conversions.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 /include/efl.utils.conversions.pxd
parent1149c6ed91a5dcb6e23998ba112d9e3d20a5ceb9 (diff)
Remove const hacks
They were a workaround for limitations in Cython <0.18
Diffstat (limited to 'include/efl.utils.conversions.pxd')
-rw-r--r--include/efl.utils.conversions.pxd11
1 files changed, 5 insertions, 6 deletions
diff --git a/include/efl.utils.conversions.pxd b/include/efl.utils.conversions.pxd
index bacb2c5..88966c4 100644
--- a/include/efl.utils.conversions.pxd
+++ b/include/efl.utils.conversions.pxd
@@ -15,17 +15,16 @@
15# You should have received a copy of the GNU Lesser General Public License 15# You should have received a copy of the GNU Lesser General Public License
16# along with this Python-EFL. If not, see <http://www.gnu.org/licenses/>. 16# along with this Python-EFL. If not, see <http://www.gnu.org/licenses/>.
17 17
18from libc.string cimport const_char 18from efl.eina cimport Eina_List
19from efl.eina cimport Eina_List, const_Eina_List
20 19
21cdef unicode _touni(char* s) 20cdef unicode _touni(char* s)
22cdef unicode _ctouni(const_char *s) 21cdef unicode _ctouni(const char *s)
23 22
24cdef list array_of_strings_to_python_list(char **array, int array_length) 23cdef list array_of_strings_to_python_list(char **array, int array_length)
25cdef const_char ** python_list_strings_to_array_of_strings(list strings) except NULL 24cdef const char ** python_list_strings_to_array_of_strings(list strings) except NULL
26cdef list eina_list_strings_to_python_list(const_Eina_List *lst) 25cdef list eina_list_strings_to_python_list(const Eina_List *lst)
27cdef Eina_List * python_list_strings_to_eina_list(list strings) 26cdef Eina_List * python_list_strings_to_eina_list(list strings)
28cdef list eina_list_objects_to_python_list(const_Eina_List *lst) 27cdef list eina_list_objects_to_python_list(const Eina_List *lst)
29cdef Eina_List *python_list_objects_to_eina_list(list objects) 28cdef Eina_List *python_list_objects_to_eina_list(list objects)
30cdef int * python_list_ints_to_array_of_ints(list ints) except NULL 29cdef int * python_list_ints_to_array_of_ints(list ints) except NULL
31cdef list array_of_ints_to_python_list(int *array, int array_length) 30cdef list array_of_ints_to_python_list(int *array, int array_length)