summaryrefslogtreecommitdiff
path: root/include/efl.utils.conversions.pxd
diff options
context:
space:
mode:
authorKai Huuhko <kai.huuhko@gmail.com>2013-10-01 04:56:28 +0300
committerKai Huuhko <kai.huuhko@gmail.com>2013-10-01 04:56:28 +0300
commit5f4a46da4b725329495366130b4ef03ebaa1d376 (patch)
treee8719f3b08fd0a97f4f83a10eeb20e6f63d44583 /include/efl.utils.conversions.pxd
parent6587b5be679e659337f3f2219186eb4f9afc44d0 (diff)
Move common conversion functions from efl.eo to efl.utils.conversions
Diffstat (limited to 'include/efl.utils.conversions.pxd')
-rw-r--r--include/efl.utils.conversions.pxd12
1 files changed, 12 insertions, 0 deletions
diff --git a/include/efl.utils.conversions.pxd b/include/efl.utils.conversions.pxd
new file mode 100644
index 0000000..6e01223
--- /dev/null
+++ b/include/efl.utils.conversions.pxd
@@ -0,0 +1,12 @@
1from libc.string cimport const_char
2from efl.eina cimport Eina_List, const_Eina_List
3
4cdef unicode _touni(char* s)
5cdef unicode _ctouni(const_char *s)
6
7cdef list array_of_strings_to_python_list(char **array, int array_length)
8cdef const_char ** python_list_strings_to_array_of_strings(list strings) except NULL
9cdef list eina_list_strings_to_python_list(const_Eina_List *lst)
10cdef Eina_List * python_list_strings_to_eina_list(list strings)
11cdef list eina_list_objects_to_python_list(const_Eina_List *lst)
12cdef Eina_List *python_list_objects_to_eina_list(list objects)