diff options
author | Kai Huuhko <kai.huuhko@gmail.com> | 2014-04-05 03:13:15 +0300 |
---|---|---|
committer | Kai Huuhko <kai.huuhko@gmail.com> | 2014-04-05 03:13:15 +0300 |
commit | adf70fa26fcae845b0bc55c6eebcaeafadc4d1c7 (patch) | |
tree | c5bf8953e6b6081bb6542eb5372295875151df02 /include/efl.utils.conversions.pxd | |
parent | 1149c6ed91a5dcb6e23998ba112d9e3d20a5ceb9 (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.pxd | 11 |
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 | ||
18 | from libc.string cimport const_char | 18 | from efl.eina cimport Eina_List |
19 | from efl.eina cimport Eina_List, const_Eina_List | ||
20 | 19 | ||
21 | cdef unicode _touni(char* s) | 20 | cdef unicode _touni(char* s) |
22 | cdef unicode _ctouni(const_char *s) | 21 | cdef unicode _ctouni(const char *s) |
23 | 22 | ||
24 | cdef list array_of_strings_to_python_list(char **array, int array_length) | 23 | cdef list array_of_strings_to_python_list(char **array, int array_length) |
25 | cdef const_char ** python_list_strings_to_array_of_strings(list strings) except NULL | 24 | cdef const char ** python_list_strings_to_array_of_strings(list strings) except NULL |
26 | cdef list eina_list_strings_to_python_list(const_Eina_List *lst) | 25 | cdef list eina_list_strings_to_python_list(const Eina_List *lst) |
27 | cdef Eina_List * python_list_strings_to_eina_list(list strings) | 26 | cdef Eina_List * python_list_strings_to_eina_list(list strings) |
28 | cdef list eina_list_objects_to_python_list(const_Eina_List *lst) | 27 | cdef list eina_list_objects_to_python_list(const Eina_List *lst) |
29 | cdef Eina_List *python_list_objects_to_eina_list(list objects) | 28 | cdef Eina_List *python_list_objects_to_eina_list(list objects) |
30 | cdef int * python_list_ints_to_array_of_ints(list ints) except NULL | 29 | cdef int * python_list_ints_to_array_of_ints(list ints) except NULL |
31 | cdef list array_of_ints_to_python_list(int *array, int array_length) | 30 | cdef list array_of_ints_to_python_list(int *array, int array_length) |