summaryrefslogtreecommitdiff
path: root/include/efl.utils.conversions.pxd
blob: 2003ca598661df7b8e0aa3db472895e5a6b85e44 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
# Copyright (C) 2007-2014 various contributors (see AUTHORS)
#
# This file is part of Python-EFL.
#
# Python-EFL is free software; you can redistribute it and/or
# modify it under the terms of the GNU Lesser General Public
# License as published by the Free Software Foundation; either
# version 3 of the License, or (at your option) any later version.
#
# Python-EFL is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
# Lesser General Public License for more details.
#
# You should have received a copy of the GNU Lesser General Public License
# along with this Python-EFL.  If not, see <http://www.gnu.org/licenses/>.

from efl.eina cimport Eina_List

cdef unicode _touni(char* s)
cdef unicode _ctouni(const char *s)

cdef list array_of_strings_to_python_list(char **array, int array_length)
cdef const char ** python_list_strings_to_array_of_strings(list strings) except NULL
cdef list eina_list_strings_to_python_list(const Eina_List *lst)
cdef Eina_List * python_list_strings_to_eina_list(list strings)
cdef list eina_list_objects_to_python_list(const Eina_List *lst)
cdef Eina_List *python_list_objects_to_eina_list(list objects)
cdef int * python_list_ints_to_array_of_ints(list ints) except NULL
cdef list array_of_ints_to_python_list(int *array, int array_length)