1
/* -*- Mode: C; ; c-file-style: "python" -*- */
3
* Copyright (C) 2004 Johan Dahlin
5
* This library is free software; you can redistribute it and/or
6
* modify it under the terms of the GNU Library General Public
7
* License as published by the Free Software Foundation; either
8
* version 2 of the License, or (at your option) any later version.
10
* This library is distributed in the hope that it will be useful,
11
* but WITHOUT ANY WARRANTY; without even the implied warranty of
12
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
13
* Library General Public License for more details.
15
* You should have received a copy of the GNU Library General Public
16
* License along with this library; if not, write to the
17
* Free Software Foundation, Inc., 59 Temple Place - Suite 330,
18
* Boston, MA 02111-1307, USA.
20
* Author: Johan Dahlin <johan@gnome.org>
26
#include <pygobject.h>
28
#include <glib-object.h>
31
#include "pygobject.h"
32
#include "pygstobject.h"
33
#include "pygstminiobject.h"
35
#if (defined HAVE_OLD_PYGTK && (PY_VERSION_HEX < 0x02030000))
36
typedef destructor freefunc;
41
GClosure *link_function;
42
GClosure *event_function;
43
GClosure *chain_function;
44
GClosure *get_function;
45
GClosure *getcaps_function;
49
PyObject *func, *data;
57
PyTypeObject PyGstIterator_Type;
60
/* from gst-types.c */
61
GstCaps *pygst_caps_from_pyobject (PyObject *object, gboolean *copy);
62
PyObject* pygst_iterator_new(GstIterator *iter);
65
#endif /* __COMMON_H__ */