diff options
author | Sebastian Wilhelmi <wilhelmi@ira.uka.de> | 2000-09-01 12:47:42 +0000 |
---|---|---|
committer | Sebastian Wilhelmi <wilhelmi@src.gnome.org> | 2000-09-01 12:47:42 +0000 |
commit | 21a498b1a54aa59bd0a3c4e6985307ec326683d2 (patch) | |
tree | ba4a2f5255409165e01c5cecf0df29d9d5a9257e /gerror.h | |
parent | 3dcf39eb77dc324b6838a87fa82fb6d10a208cf7 (diff) | |
download | glib-21a498b1a54aa59bd0a3c4e6985307ec326683d2.tar.gz |
Added function g_propagte_error to hand over local errors to the calling
2000-09-01 Sebastian Wilhelmi <wilhelmi@ira.uka.de>
* gerror.c, gerror.h (g_propagte_error): Added function
g_propagte_error to hand over local errors to the calling
function.
Diffstat (limited to 'gerror.h')
-rw-r--r-- | gerror.h | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -60,6 +60,11 @@ void g_set_error (GError **err, const gchar *format, ...) G_GNUC_PRINTF (4, 5); +/* if (dest) *dest = src; also has some sanity checks. + */ +void g_propagate_error (GError **dest, + GError *src); + /* if (err && *err) { g_error_free(*err); *err = NULL; } */ void g_clear_error (GError **err); |