mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-22 23:28:16 +00:00
strip GST_ off consts
Original commit message from CVS: strip GST_ off consts
This commit is contained in:
parent
be74250a11
commit
65e6677541
4 changed files with 8 additions and 4 deletions
|
@ -26,6 +26,7 @@
|
|||
|
||||
/* include this first, before NO_IMPORT_PYGOBJECT is defined */
|
||||
#include <pygobject.h>
|
||||
#include <gst/gst.h>
|
||||
|
||||
void pygstreamer_register_classes (PyObject *d);
|
||||
void pygstreamer_add_constants(PyObject *module, const gchar *strip_prefix);
|
||||
|
@ -44,7 +45,7 @@ init_gstreamer (void)
|
|||
d = PyModule_GetDict (m);
|
||||
|
||||
pygstreamer_register_classes (d);
|
||||
pygstreamer_add_constants (m, "GSTREAMER_");
|
||||
pygstreamer_add_constants (m, "GST_");
|
||||
|
||||
if (PyErr_Occurred ()) {
|
||||
Py_FatalError ("can't initialize module gstreamer");
|
||||
|
|
|
@ -26,6 +26,7 @@
|
|||
|
||||
/* include this first, before NO_IMPORT_PYGOBJECT is defined */
|
||||
#include <pygobject.h>
|
||||
#include <gst/gst.h>
|
||||
|
||||
void pygstreamer_register_classes (PyObject *d);
|
||||
void pygstreamer_add_constants(PyObject *module, const gchar *strip_prefix);
|
||||
|
@ -44,7 +45,7 @@ init_gstreamer (void)
|
|||
d = PyModule_GetDict (m);
|
||||
|
||||
pygstreamer_register_classes (d);
|
||||
pygstreamer_add_constants (m, "GSTREAMER_");
|
||||
pygstreamer_add_constants (m, "GST_");
|
||||
|
||||
if (PyErr_Occurred ()) {
|
||||
Py_FatalError ("can't initialize module gstreamer");
|
||||
|
|
|
@ -26,6 +26,7 @@
|
|||
|
||||
/* include this first, before NO_IMPORT_PYGOBJECT is defined */
|
||||
#include <pygobject.h>
|
||||
#include <gst/gst.h>
|
||||
|
||||
void pygstreamer_register_classes (PyObject *d);
|
||||
void pygstreamer_add_constants(PyObject *module, const gchar *strip_prefix);
|
||||
|
@ -44,7 +45,7 @@ init_gstreamer (void)
|
|||
d = PyModule_GetDict (m);
|
||||
|
||||
pygstreamer_register_classes (d);
|
||||
pygstreamer_add_constants (m, "GSTREAMER_");
|
||||
pygstreamer_add_constants (m, "GST_");
|
||||
|
||||
if (PyErr_Occurred ()) {
|
||||
Py_FatalError ("can't initialize module gstreamer");
|
||||
|
|
|
@ -26,6 +26,7 @@
|
|||
|
||||
/* include this first, before NO_IMPORT_PYGOBJECT is defined */
|
||||
#include <pygobject.h>
|
||||
#include <gst/gst.h>
|
||||
|
||||
void pygstreamer_register_classes (PyObject *d);
|
||||
void pygstreamer_add_constants(PyObject *module, const gchar *strip_prefix);
|
||||
|
@ -44,7 +45,7 @@ init_gstreamer (void)
|
|||
d = PyModule_GetDict (m);
|
||||
|
||||
pygstreamer_register_classes (d);
|
||||
pygstreamer_add_constants (m, "GSTREAMER_");
|
||||
pygstreamer_add_constants (m, "GST_");
|
||||
|
||||
if (PyErr_Occurred ()) {
|
||||
Py_FatalError ("can't initialize module gstreamer");
|
||||
|
|
Loading…
Reference in a new issue