From: Wilfried Goesgens Date: Sun, 11 Oct 2015 11:51:24 +0000 (+0200) Subject: Add macro so application code can more easily _not_ access iterator reserved parameters. X-Git-Tag: Release_902~159 X-Git-Url: https://code.citadel.org/?p=citadel.git;a=commitdiff_plain;h=d2b84838004c32ffe17e8892d06624eb64425b24 Add macro so application code can more easily _not_ access iterator reserved parameters. --- diff --git a/webcit/subst.h b/webcit/subst.h index d80c97f52..063f46d21 100644 --- a/webcit/subst.h +++ b/webcit/subst.h @@ -362,6 +362,7 @@ long GetTokenDefine(const char *Name, #define IT_NOFLAG 0 #define IT_FLAG_DETECT_GROUPCHANGE (1<<0) +#define IT_ADDT_PARAM(n) 5 + n /* If you have AdditionalParams, use this macro to fetch them. */ #define RegisterIterator(a, b, c, d, e, f, g, h, i) RegisterITERATOR(a, sizeof(a)-1, b, c, d, e, f, NULL, g, h, i) #define RegisterFilteredIterator(a, b, c, d, e, f, g, h, i, j) RegisterITERATOR(a, sizeof(a)-1, b, c, d, e, f, g, h, i, j) void RegisterITERATOR(const char *Name, long len, /* Our identifier */