diff options
Diffstat (limited to 'gi/pygi-info.c')
-rw-r--r-- | gi/pygi-info.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/gi/pygi-info.c b/gi/pygi-info.c index 2f978206..95303b82 100644 --- a/gi/pygi-info.c +++ b/gi/pygi-info.c @@ -730,6 +730,12 @@ _wrap_g_callable_info_may_return_null (PyGIBaseInfo *self) } static PyObject * +_wrap_g_callable_info_skip_return (PyGIBaseInfo *self) +{ + return PyBool_FromLong (g_callable_info_skip_return (self->info)); +} + +static PyObject * _wrap_g_callable_info_get_return_attribute (PyGIBaseInfo *self, PyObject *py_name) { gchar *name; @@ -757,6 +763,7 @@ static PyMethodDef _PyGICallableInfo_methods[] = { { "get_return_type", (PyCFunction) _wrap_g_callable_info_get_return_type, METH_NOARGS }, { "get_caller_owns", (PyCFunction) _wrap_g_callable_info_get_caller_owns, METH_NOARGS }, { "may_return_null", (PyCFunction) _wrap_g_callable_info_may_return_null, METH_NOARGS }, + { "skip_return", (PyCFunction) _wrap_g_callable_info_skip_return, METH_NOARGS }, { "get_return_attribute", (PyCFunction) _wrap_g_callable_info_get_return_attribute, METH_O }, { NULL, NULL, 0 } }; |