mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-23 00:36:51 +00:00
31 lines
709 B
C
31 lines
709 B
C
/* -*- Mode: C; c-basic-offset: 4 -*- */
|
|
%%
|
|
headers
|
|
#define NO_IMPORT_PYGOBJECT
|
|
#include <pygobject.h>
|
|
|
|
#include <gst/gst.h>
|
|
#include <ges/ges.h>
|
|
|
|
#include <glib.h>
|
|
#include <pyglib.h>
|
|
|
|
|
|
#ifdef HAVE_CONFIG_H
|
|
# include <config.h>
|
|
#endif
|
|
|
|
/* Boonky define that allows for backwards compatibility with Python 2.4 */
|
|
#if PY_VERSION_HEX < 0x02050000
|
|
#define Py_ssize_t int
|
|
#endif
|
|
|
|
void pyges_register_classes(PyObject *d);
|
|
void pyges_add_constants(PyObject *module, const gchar *strip_prefix);
|
|
|
|
%%
|
|
import gobject.GObject as PyGObject_Type
|
|
import gobject.MainContext as PyGMainContext_Type
|
|
import gobject.GObject as PyGInitiallyUnowned_Type
|
|
import gst.Bin as PyGstBin_Type
|
|
import gst.Pipeline as PyGstPipeline_Type
|