diff options
author | Not Zed <NotZed@Ximian.com> | 2004-06-18 16:48:32 +0800 |
---|---|---|
committer | Michael Zucci <zucchi@src.gnome.org> | 2004-06-18 16:48:32 +0800 |
commit | 9eec91e7be4cd60778e3e624ab60d17721d4050a (patch) | |
tree | da217e753b10b233216f5b57a5847d68bc712847 /camel/camel-exception.h | |
parent | 1a68102c00f473ff8892f901fa71f9cd2c5a6534 (diff) | |
download | gsoc2013-evolution-9eec91e7be4cd60778e3e624ab60d17721d4050a.tar.gz gsoc2013-evolution-9eec91e7be4cd60778e3e624ab60d17721d4050a.tar.zst gsoc2013-evolution-9eec91e7be4cd60778e3e624ab60d17721d4050a.zip |
setup for static inititialisation.
2004-06-18 Not Zed <NotZed@Ximian.com>
* camel-exception.h (CAMEL_EXCEPTION_INITIALISER): setup for
static inititialisation.
svn path=/trunk/; revision=26414
Diffstat (limited to 'camel/camel-exception.h')
-rw-r--r-- | camel/camel-exception.h | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/camel/camel-exception.h b/camel/camel-exception.h index 77c2c16066..2056dcabe3 100644 --- a/camel/camel-exception.h +++ b/camel/camel-exception.h @@ -41,15 +41,13 @@ typedef enum { } ExceptionId; - struct _CamelException { /* do not access the fields directly */ ExceptionId id; char *desc; - }; - +#define CAMEL_EXCEPTION_INITIALISER { 0, NULL } /* creation and destruction functions */ CamelException * camel_exception_new (void); @@ -67,7 +65,6 @@ void camel_exception_setv (CamelException *ex, const char *format, ...); - /* exception content transfer */ void camel_exception_xfer (CamelException *ex_dst, CamelException *ex_src); |