aboutsummaryrefslogtreecommitdiffstats
path: root/e-util/e-msgport.h
diff options
context:
space:
mode:
authorMichael Zucci <zucchi@src.gnome.org>2001-01-03 08:09:02 +0800
committerMichael Zucci <zucchi@src.gnome.org>2001-01-03 08:09:02 +0800
commit95279feb147f5370fe1e15d4f6674f0ca7b98a3b (patch)
tree8df0d42c0c6bffbae7c592a95148f019a3e71e02 /e-util/e-msgport.h
parent33d8b1d31cd6d8a54cbb85bb0a96916b4fbdb6a0 (diff)
downloadgsoc2013-evolution-95279feb147f5370fe1e15d4f6674f0ca7b98a3b.tar.gz
gsoc2013-evolution-95279feb147f5370fe1e15d4f6674f0ca7b98a3b.tar.zst
gsoc2013-evolution-95279feb147f5370fe1e15d4f6674f0ca7b98a3b.zip
Some debug commented out, static list intialiser.
svn path=/trunk/; revision=7221
Diffstat (limited to 'e-util/e-msgport.h')
-rw-r--r--e-util/e-msgport.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/e-util/e-msgport.h b/e-util/e-msgport.h
index c8cede5361..6e25235bbd 100644
--- a/e-util/e-msgport.h
+++ b/e-util/e-msgport.h
@@ -14,6 +14,8 @@ typedef struct _EDList {
struct _EDListNode *tailpred;
} EDList;
+#define E_DLIST_INITIALISER(l) { (EDListNode *)&l.tail, 0, (EDListNode *)&l.head }
+
void e_dlist_init(EDList *v);
EDListNode *e_dlist_addhead(EDList *l, EDListNode *n);
EDListNode *e_dlist_addtail(EDList *l, EDListNode *n);