d00dfdf04cd2eb3aa80e0664039cb7da8e39fd85
[python-purple] / glib.pxd
1 #
2 #  Copyright (c) 2008 INdT - Instituto Nokia de Tecnologia
3 #
4 #  This file is part of python-purple.
5 #
6 #  python-purple is free software: you can redistribute it and/or modify
7 #  it under the terms of the GNU General Public License as published by
8 #  the Free Software Foundation, either version 3 of the License, or
9 #  (at your option) any later version.
10 #
11 #  python-purple is distributed in the hope that it will be useful,
12 #  but WITHOUT ANY WARRANTY; without even the implied warranty of
13 #  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
14 #  GNU General Public License for more details.
15 #
16 #  You should have received a copy of the GNU General Public License
17 #  along with this program.  If not, see <http://www.gnu.org/licenses/>.
18 #
19
20 cdef extern from "glib.h":
21     ctypedef void* gpointer
22     ctypedef int gint
23     ctypedef unsigned int guint
24     ctypedef gint gboolean
25
26     # GHashTable is an opaque data structure
27     ctypedef struct GHashTable:
28         void* none
29
30     struct _GSList:
31         gpointer data
32         _GSList *next
33     ctypedef _GSList GSList
34
35     struct _GList:
36         gpointer data
37         _GList *next
38         _GList *prev
39     ctypedef _GList GList