File: gst.c
Function: _wrap_gst_ghost_pad_new_no_target
Error: returning (PyObject*)NULL without setting an exception
25207 static PyObject *
25208 _wrap_gst_ghost_pad_new_no_target(PyObject *self, PyObject *args, PyObject *kwargs)
25209 {
25210     static char *kwlist[] = { "name", "dir", NULL };
25211     char *name;
25212     PyObject *py_dir = NULL, *py_ret;
25213     GstPadDirection dir;
25214     GstPad *ret;
25215 
25216     if (!PyArg_ParseTupleAndKeywords(args, kwargs,"sO:ghost_pad_new_notarget", kwlist, &name, &py_dir))
when PyArg_ParseTupleAndKeywords() succeeds
taking False path
25217         return NULL;
25218     if (pyg_enum_get_value(GST_TYPE_PAD_DIRECTION, py_dir, (gint *)&dir))
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:25218
when considering range: -0x80000000 <= value <= -1
taking True path
25219         return NULL;
25220     pyg_begin_allow_threads;
25221     ret = gst_ghost_pad_new_no_target(name, dir);
25222     pyg_end_allow_threads;
25223     py_ret = pygobject_new((GObject *)ret);
25224     if (ret != NULL)
25225         g_object_unref((GObject *)ret);
25226     return py_ret;
25227 }
returning (PyObject*)NULL without setting an exception