Commit 5e1b07e1 authored by Edward Hervey's avatar Edward Hervey 🤘

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
parent 1444a503
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;
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment