1 /* -*- Mode: C; c-basic-offset: 4 -*-
2 * vim: tabstop=4 shiftwidth=4 expandtab
4 * Copyright (C) 2005-2009 Johan Dahlin <johan@gnome.org>
6 * This library is free software; you can redistribute it and/or
7 * modify it under the terms of the GNU Lesser General Public
8 * License as published by the Free Software Foundation; either
9 * version 2.1 of the License, or (at your option) any later version.
11 * This library 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 GNU
14 * Lesser General Public License for more details.
16 * You should have received a copy of the GNU Lesser General Public
17 * License along with this library; if not, see <http://www.gnu.org/licenses/>.
27 #include <pygobject-private.h>
29 #include <girepository.h>
30 #include "pygi-cache.h"
32 extern PyObject *PyGIDeprecationWarning;
33 extern PyObject *_PyGIDefaultArgPlaceholder;
37 GIRepository *repository;
43 PyObject *inst_weakreflist;
44 PyGICallableCache *cache;
50 /* Reference the unbound version of this struct.
51 * We use this for the actual call to invoke because it manages the cache.
53 struct PyGICallableInfo *py_unbound_info;
55 /* Holds bound argument for instance, class, and vfunc methods. */
56 PyObject *py_bound_arg;
62 gboolean free_on_dealloc;
67 gboolean slice_allocated;
77 GDestroyNotify destroy_notify_func;
78 PyGICCallbackCache *cache;
82 #endif /* __PYGI_H__ */