diff src/lib-mail/mail-types.h @ 4451:1a35d53c18fc HEAD

Array API redesigned to work using unions. It now provides type safety without having to enable DEBUG, as long as the compiler supports typeof(). Its API changed a bit. It now allows directly accessing the array contents, although that's not necessarily recommended. Changed existing array usage to be type safe in a bit more places. Removed array_t completely. Also did s/modifyable/modifiable/.
author Timo Sirainen <tss@iki.fi>
date Wed, 28 Jun 2006 16:10:25 +0300
parents 61c8d205d887
children d911d943438e
line wrap: on
line diff
--- a/src/lib-mail/mail-types.h	Wed Jun 28 01:51:47 2006 +0300
+++ b/src/lib-mail/mail-types.h	Wed Jun 28 16:10:25 2006 +0300
@@ -18,4 +18,6 @@
 	MODIFY_REPLACE
 };
 
+ARRAY_DEFINE_TYPE(keywords, const char *);
+
 #endif