File: gst.c
Function: _wrap_gst_data_queue_drop_head
Error: returning (PyObject*)NULL without setting an exception
20196 static PyObject *
20197 _wrap_gst_data_queue_drop_head(PyGObject *self, PyObject *args, PyObject *kwargs)
20198 {
20199     static char *kwlist[] = { "type", NULL };
20200     PyObject *py_type = NULL;
20201     int ret;
20202     GType type;
20203 
20204     if (!PyArg_ParseTupleAndKeywords(args, kwargs,"O:GstDataQueue.drop_head", kwlist, &py_type))
when PyArg_ParseTupleAndKeywords() succeeds
taking False path
20205         return NULL;
20206     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:20206
when considering value == (GType)0 from gst.c:20206
taking True path
20207         return NULL;
20208     pyg_begin_allow_threads;
20209     ret = gst_data_queue_drop_head(GST_DATA_QUEUE(self->obj), type);
20210     pyg_end_allow_threads;
20211     return PyBool_FromLong(ret);
20212 
20213 }
returning (PyObject*)NULL without setting an exception