4290 static PyObject *
4291 _wrap_gst_index_get_assoc_entry(PyGObject *self, PyObject *args, PyObject *kwargs)
4292 {
4293 static char *kwlist[] = { "id", "method", "flags", "format", "value", NULL };
4294 GstAssocFlags flags;
4295 int id;
4296 GstIndexEntry *ret;
4297 PyObject *py_method = NULL, *py_flags = NULL, *py_format = NULL;
4298 GstFormat format;
4299 GstIndexLookupMethod method;
4300 gint64 value;
4301
4302 if (!PyArg_ParseTupleAndKeywords(args, kwargs,"iOOOL:GstIndex.get_assoc_entry", kwlist, &id, &py_method, &py_flags, &py_format, &value))
when PyArg_ParseTupleAndKeywords() succeeds
taking False path
4303 return NULL;
4304 if (pyg_enum_get_value(GST_TYPE_INDEX_LOOKUP_METHOD, py_method, (gint *)&method))
when treating unknown struct _PyGObject_Functions * from /usr/include/pygtk-2.0/pygobject.h:207 as non-NULL
calling unknown gint (*) (GType, struct PyObject *, gint *) from gst.c:4304
when considering range: -0x80000000 <= value <= -1
taking True path
4305 return NULL;
4306 if (pyg_flags_get_value(GST_TYPE_ASSOC_FLAGS, py_flags, (gint *)&flags))
4307 return NULL;
4308 if (pyg_enum_get_value(GST_TYPE_FORMAT, py_format, (gint *)&format))
4309 return NULL;
4310 pyg_begin_allow_threads;
4311 ret = gst_index_get_assoc_entry(GST_INDEX(self->obj), id, method, flags, format, value);
4312 pyg_end_allow_threads;
4313 /* pyg_boxed_new handles NULL checking */
4314 return pyg_boxed_new(GST_TYPE_INDEX_ENTRY, (GstIndexEntry*) ret, TRUE, TRUE);
4315 }
returning (PyObject*)NULL without setting an exception
found 5 similar trace(s) to this