[dovecot-cvs] dovecot/src/lib-index mail-index-transaction-view.c, 1.12, 1.13 mail-index-transaction.c, 1.54, 1.55

cras at dovecot.org cras at dovecot.org
Sun Mar 13 00:39:08 EET 2005


Update of /var/lib/cvs/dovecot/src/lib-index
In directory talvi:/tmp/cvs-serv28147

Modified Files:
	mail-index-transaction-view.c mail-index-transaction.c 
Log Message:
ARRAY_ARG_SET_TYPE() -> ARRAY_SET_TYPE()



Index: mail-index-transaction-view.c
===================================================================
RCS file: /var/lib/cvs/dovecot/src/lib-index/mail-index-transaction-view.c,v
retrieving revision 1.12
retrieving revision 1.13
diff -u -d -r1.12 -r1.13
--- mail-index-transaction-view.c	12 Mar 2005 18:16:29 -0000	1.12
+++ mail-index-transaction-view.c	12 Mar 2005 22:39:06 -0000	1.13
@@ -137,7 +137,7 @@
 		(struct mail_index_view_transaction *)view;
         const struct mail_index_ext *ext;
 	const array_t *ext_buf;
-	ARRAY_ARG_SET_TYPE(ext_buf, void *);
+	ARRAY_SET_TYPE(ext_buf, void *);
 	const void *data;
 	unsigned int idx;
 

Index: mail-index-transaction.c
===================================================================
RCS file: /var/lib/cvs/dovecot/src/lib-index/mail-index-transaction.c,v
retrieving revision 1.54
retrieving revision 1.55
diff -u -d -r1.54 -r1.55
--- mail-index-transaction.c	12 Mar 2005 18:16:29 -0000	1.54
+++ mail-index-transaction.c	12 Mar 2005 22:39:06 -0000	1.55
@@ -98,7 +98,7 @@
 mail_index_buffer_convert_to_uids(struct mail_index_transaction *t,
 				  array_t *array, int range)
 {
-        ARRAY_ARG_SET_TYPE(array, uint32_t);
+        ARRAY_SET_TYPE(array, uint32_t);
         struct mail_index_view *view = t->view;
 	const struct mail_index_record *rec;
 	uint32_t *seq;
@@ -129,7 +129,7 @@
 static void arrays_convert_to_uids(struct mail_index_transaction *t,
 				   array_t *array)
 {
-	ARRAY_ARG_SET_TYPE(array, array_t);
+	ARRAY_SET_TYPE(array, array_t);
 	array_t *updates;
 	unsigned int i, count;
 
@@ -261,7 +261,7 @@
 mail_index_seq_range_array_add(array_t *array, unsigned int init_count,
 			       uint32_t seq)
 {
-        ARRAY_ARG_SET_TYPE(array, struct seq_range);
+        ARRAY_SET_TYPE(array, struct seq_range);
 	struct seq_range *data, value;
 	unsigned int idx, left_idx, right_idx, count;
 
@@ -343,7 +343,7 @@
 
 static void mail_index_seq_range_array_remove(array_t *array, uint32_t seq)
 {
-        ARRAY_ARG_SET_TYPE(array, struct seq_range);
+        ARRAY_SET_TYPE(array, struct seq_range);
 	struct seq_range *data, value;
 	unsigned int idx, left_idx, right_idx, count;
 
@@ -632,7 +632,7 @@
 int mail_index_seq_array_lookup(const array_t *array, uint32_t seq,
 				unsigned int *idx_r)
 {
-        ARRAY_ARG_SET_TYPE(array, uint32_t);
+        ARRAY_SET_TYPE(array, uint32_t);
 	unsigned int idx, left_idx, right_idx, count;
 	const uint32_t *seq_p;
 
@@ -671,7 +671,7 @@
 				    const void *record, size_t record_size,
 				    void *old_record)
 {
-        ARRAY_ARG_SET_TYPE(array, void *);
+        ARRAY_SET_TYPE(array, void *);
 	void *p;
 	unsigned int idx;
 



More information about the dovecot-cvs mailing list