diff options
author | Gustavo J. A. M. Carneiro <gjc@src.gnome.org> | 2007-04-14 17:13:44 +0000 |
---|---|---|
committer | Gustavo J. A. M. Carneiro <gjc@src.gnome.org> | 2007-04-14 17:13:44 +0000 |
commit | 6e47e1134ef64b9f11169bef22ac8561030dbca2 (patch) | |
tree | 22a17fc2b07728908bbace5b114f88bd74a46309 /gobject/pygobject.h | |
parent | 2421ba56f34e9e088b31dff53b477d35b600b715 (diff) | |
download | pygobject-6e47e1134ef64b9f11169bef22ac8561030dbca2.tar.gz pygobject-6e47e1134ef64b9f11169bef22ac8561030dbca2.tar.xz pygobject-6e47e1134ef64b9f11169bef22ac8561030dbca2.zip |
Bug 425242 – Add API to convert a gobject.GError exception being raised to a GError** parameter
svn path=/trunk/; revision=645
Diffstat (limited to 'gobject/pygobject.h')
-rw-r--r-- | gobject/pygobject.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/gobject/pygobject.h b/gobject/pygobject.h index 045f53a..43e7906 100644 --- a/gobject/pygobject.h +++ b/gobject/pygobject.h @@ -185,6 +185,7 @@ struct _PyGObject_Functions { void (*type_register_custom)(const gchar *type_name, PyGTypeRegistrationFunction callback, gpointer data); + gboolean (*gerror_exception_check) (GError **error); }; @@ -248,6 +249,8 @@ struct _PyGObject_Functions *_PyGObject_API; #define pyg_add_warning_redirection (_PyGObject_API->add_warning_redirection) #define pyg_disable_warning_redirections (_PyGObject_API->disable_warning_redirections) #define pyg_type_register_custom_callback (_PyGObject_API->type_register_custom) +#define pyg_gerror_exception_check (_PyGObject_API->gerror_exception_check) + #define pyg_block_threads() G_STMT_START { \ if (_PyGObject_API->block_threads != NULL) \ |