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:
Edward Hervey 2005-11-24 11:47:15 +00:00
parent 1444a50357
commit 5e1b07e151
3 changed files with 25 additions and 0 deletions

View file

@ -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

View file

@ -296,6 +296,7 @@ ignore-glob
*_unref
*_init
*_deinit
*_full
gst_class_*
gst_init*
gst_interface_*

View file

@ -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;
}