Initial import to Tizen
[profile/ivi/gstreamer-python.git] / gst / pygstminiobject.h
1 /* -*- Mode: C; c-basic-offset: 4 -*- */
2
3 #ifndef _PYGSTMINIOBJECT_H_
4 #define _PYGSTMINIOBJECT_H_
5
6 #include <Python.h>
7
8 #include <glib.h>
9 #include <glib-object.h>
10
11 G_BEGIN_DECLS
12
13 /* Work around bugs in PyGILState api fixed in 2.4.0a4 */
14 #undef PYGIL_API_IS_BUGGY
15 #if PY_VERSION_HEX < 0x020400A4
16 #define PYGIL_API_IS_BUGGY TRUE
17 #else
18 #define PYGIL_API_IS_BUGGY FALSE
19 #endif
20
21
22 void
23 pygstminiobject_register_class(PyObject *dict, const gchar *type_name,
24                                GType gtype, PyTypeObject *type,
25                                PyObject *bases);
26 void
27 pygstminiobject_register_wrapper(PyObject *self);
28
29 void
30 pygst_miniobject_init();
31
32 #ifndef _INSIDE_PYGSTMINIOBJECT_
33
34
35 #endif /* !_INSIDE_PYGSTMINIOBJECT_ */
36
37 G_END_DECLS
38
39 #endif /* !_PYGSTMINIOBJECT_H_ */