diff options
author | Kai Huuhko <kai.huuhko@gmail.com> | 2013-10-01 04:56:28 +0300 |
---|---|---|
committer | Kai Huuhko <kai.huuhko@gmail.com> | 2013-10-01 04:56:28 +0300 |
commit | 5f4a46da4b725329495366130b4ef03ebaa1d376 (patch) | |
tree | e8719f3b08fd0a97f4f83a10eeb20e6f63d44583 /include/efl.utils.conversions.pxd | |
parent | 6587b5be679e659337f3f2219186eb4f9afc44d0 (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.pxd | 12 |
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 @@ | |||
1 | from libc.string cimport const_char | ||
2 | from efl.eina cimport Eina_List, const_Eina_List | ||
3 | |||
4 | cdef unicode _touni(char* s) | ||
5 | cdef unicode _ctouni(const_char *s) | ||
6 | |||
7 | cdef list array_of_strings_to_python_list(char **array, int array_length) | ||
8 | cdef const_char ** python_list_strings_to_array_of_strings(list strings) except NULL | ||
9 | cdef list eina_list_strings_to_python_list(const_Eina_List *lst) | ||
10 | cdef Eina_List * python_list_strings_to_eina_list(list strings) | ||
11 | cdef list eina_list_objects_to_python_list(const_Eina_List *lst) | ||
12 | cdef Eina_List *python_list_objects_to_eina_list(list objects) | ||