Mercurial > dovecot > original-hg > dovecot-1.2
diff src/lib-storage/mail-storage.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 | 5f03738219a6 |
children | fce5140fbe0b |
line wrap: on
line diff
--- a/src/lib-storage/mail-storage.h Wed Jun 28 01:51:47 2006 +0300 +++ b/src/lib-storage/mail-storage.h Wed Jun 28 16:10:25 2006 +0300 @@ -177,7 +177,7 @@ uint32_t first_unseen_seq; - const array_t *ARRAY_DEFINE_PTR(keywords, const char *); + const ARRAY_TYPE(keywords) *keywords; }; struct mailbox_sync_rec {