5216 static PyObject *
5217 _wrap_gst_element_implements_interface(PyGObject *self, PyObject *args, PyObject *kwargs)
5218 {
5219 static char *kwlist[] = { "iface_type", NULL };
5220 PyObject *py_iface_type = NULL;
5221 int ret;
5222 GType iface_type;
5223
5224 if (!PyArg_ParseTupleAndKeywords(args, kwargs,"O:GstElement.implements_interface", kwlist, &py_iface_type))
when PyArg_ParseTupleAndKeywords() succeeds
taking False path
5225 return NULL;
5226 if ((iface_type = pyg_type_from_object(py_iface_type)) == 0)
when treating unknown struct _PyGObject_Functions * from /usr/include/pygtk-2.0/pygobject.h:207 as non-NULL
calling unknown GType (*) (struct PyObject *) from gst.c:5226
when considering value == (GType)0 from gst.c:5226
taking True path
5227 return NULL;
5228 pyg_begin_allow_threads;
5229 ret = gst_element_implements_interface(GST_ELEMENT(self->obj), iface_type);
5230 pyg_end_allow_threads;
5231 return PyBool_FromLong(ret);
5232
5233 }
returning (PyObject*)NULL without setting an exception