[dovecot-cvs] dovecot/src/lib-dict dict.c,1.6,1.7
cras at dovecot.org
cras at dovecot.org
Wed Jun 28 16:10:36 EEST 2006
Update of /var/lib/cvs/dovecot/src/lib-dict
In directory talvi:/tmp/cvs-serv11200/src/lib-dict
Modified Files:
dict.c
Log Message:
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/.
Index: dict.c
===================================================================
RCS file: /var/lib/cvs/dovecot/src/lib-dict/dict.c,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -d -r1.6 -r1.7
--- dict.c 31 Jan 2006 06:05:22 -0000 1.6
+++ dict.c 28 Jun 2006 13:10:34 -0000 1.7
@@ -5,7 +5,7 @@
#include "dict-sql.h"
#include "dict-private.h"
-static array_t ARRAY_DEFINE(dict_classes, struct dict *);
+static ARRAY_DEFINE(dict_classes, struct dict *);
static struct dict *dict_class_lookup(const char *name)
{
More information about the dovecot-cvs
mailing list