mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-12 04:11:31 +00:00
gst/gst.override: Ignore all *_full functions/methods
Original commit message from CVS: * gst/gst.override: Ignore all *_full functions/methods * gst/gstbus.override: Wrapper for gst_bus_add_signal_watch that now takes an optional priority argument
This commit is contained in:
parent
1444a50357
commit
5e1b07e151
3 changed files with 25 additions and 0 deletions
|
@ -1,3 +1,11 @@
|
|||
2005-11-24 Edward Hervey <edward@fluendo.com>
|
||||
|
||||
* gst/gst.override:
|
||||
Ignore all *_full functions/methods
|
||||
* gst/gstbus.override:
|
||||
Wrapper for gst_bus_add_signal_watch that now takes an optional
|
||||
priority argument
|
||||
|
||||
2005-11-23 Thomas Vander Stichele <thomas at apestaart dot org>
|
||||
|
||||
* configure.ac: back to HEAD
|
||||
|
|
|
@ -296,6 +296,7 @@ ignore-glob
|
|||
*_unref
|
||||
*_init
|
||||
*_deinit
|
||||
*_full
|
||||
gst_class_*
|
||||
gst_init*
|
||||
gst_interface_*
|
||||
|
|
|
@ -211,3 +211,19 @@ _wrap_gst_bus_add_watch (PyGObject *self, PyObject *args)
|
|||
|
||||
return PyInt_FromLong(sigid);
|
||||
}
|
||||
%%
|
||||
override gst_bus_add_signal_watch kwargs
|
||||
static PyObject *
|
||||
_wrap_gst_bus_add_signal_watch(PyGObject *self, PyObject *args, PyObject *kwargs)
|
||||
{
|
||||
static char *kwlist[] = { "priority", NULL };
|
||||
int priority = G_PRIORITY_DEFAULT;
|
||||
|
||||
if (!PyArg_ParseTupleAndKeywords(args, kwargs, "|i:GstBus.add_signal_watch", kwlist, &priority))
|
||||
return NULL;
|
||||
pyg_begin_allow_threads;
|
||||
gst_bus_add_signal_watch_full(GST_BUS(self->obj), priority);
|
||||
pyg_end_allow_threads;
|
||||
Py_INCREF(Py_None);
|
||||
return Py_None;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue