23756 static PyObject *
23757 _wrap_GstImplementsInterface__do_supported(PyObject *cls, PyObject *args, PyObject *kwargs)
23758 {
23759 GstImplementsInterfaceClass *iface;
23760 static char *kwlist[] = { "self", "iface_type", NULL };
23761 PyGObject *self;
23762 PyObject *py_iface_type = NULL;
23763 GType iface_type;
23764 int ret;
23765
23766 if (!PyArg_ParseTupleAndKeywords(args, kwargs,"O!O:GstImplementsInterface.supported", kwlist, &PyGstImplementsInterface_Type, &self, &py_iface_type))
when PyArg_ParseTupleAndKeywords() succeeds
taking False path
23767 return NULL;
23768 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:23768
when considering value == (GType)0 from gst.c:23768
taking True path
23769 return NULL;
23770 iface = g_type_interface_peek(g_type_class_peek(pyg_type_from_object(cls)), GST_TYPE_IMPLEMENTS_INTERFACE);
23771 if (iface->supported)
23772 ret = iface->supported(GST_IMPLEMENTS_INTERFACE(self->obj), iface_type);
23773 else {
23774 PyErr_SetString(PyExc_NotImplementedError, "interface method GstImplementsInterface.supported not implemented");
23775 return NULL;
23776 }
23777 return PyBool_FromLong(ret);
23778
23779 }
returning (PyObject*)NULL without setting an exception