1 /* -*- Mode: C; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8 -*-
3 * Utility functions for Python bindings.
4 * Stolen from Epiphany.
6 * Copyright (C) 2005 Adam Hooper <adamh@cvs.gnome.org>
7 * Copyright (C) 2005 Christian Persch <chpe@cvs.gnome.org>
8 * Copyright (C) 2005 Crispin Flowerday <gnome@flowerday.cx>
10 * This program is free software; you can redistribute it and/or modify
11 * it under the terms of the GNU General Public License as published by
12 * the Free Software Foundation; either version 2, or (at your option)
15 * This program is distributed in the hope that it will be useful,
16 * but WITHOUT ANY WARRANTY; without even the implied warranty of
17 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
18 * GNU General Public License for more details.
20 * You should have received a copy of the GNU General Public License
21 * along with this program; if not, write to the Free Software
22 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
26 #ifndef __OVERRIDE_COMMON_H
27 #define __OVERRIDE_COMMON_H
29 PyObject
* _helper_wrap_gobject_glist (const GList
*list
);
30 PyObject
* _helper_wrap_string_glist (const GList
*list
);
31 PyObject
* _helper_wrap_pointer_glist (const GList
*list
,
33 PyObject
* _helper_wrap_boxed_glist (const GList
*list
,
37 PyObject
* _helper_wrap_boxed_gptrarray (GPtrArray
*list
,
41 GList
* _helper_unwrap_string_pylist (PyObject
*py_list
);
42 GList
* _helper_unwrap_pointer_pylist (PyObject
*py_list
,
44 GPtrArray
* _helper_unwrap_boxed_gptrarray (PyObject
*list
,
46 #endif /* __OVERRIDE_COMMON_H */