1796 static PyObject *
1797 _wrap_gst_structure_has_field_typed(PyObject *self, PyObject *args, PyObject *kwargs)
1798 {
1799 static char *kwlist[] = { "fieldname", "type", NULL };
1800 char *fieldname;
1801 PyObject *py_type = NULL;
1802 GType type;
1803 int ret;
1804
1805 if (!PyArg_ParseTupleAndKeywords(args, kwargs,"sO:GstStructure.has_field_typed", kwlist, &fieldname, &py_type))
when PyArg_ParseTupleAndKeywords() succeeds
taking False path
1806 return NULL;
1807 if ((type = pyg_type_from_object(py_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:1807
when considering value == (GType)0 from gst.c:1807
taking True path
1808 return NULL;
1809 pyg_begin_allow_threads;
1810 ret = gst_structure_has_field_typed(pyg_boxed_get(self, GstStructure), fieldname, type);
1811 pyg_end_allow_threads;
1812 return PyBool_FromLong(ret);
1813
1814 }
returning (PyObject*)NULL without setting an exception