From d2b84838004c32ffe17e8892d06624eb64425b24 Mon Sep 17 00:00:00 2001 From: Wilfried Goesgens Date: Sun, 11 Oct 2015 13:51:24 +0200 Subject: [PATCH] Add macro so application code can more easily _not_ access iterator reserved parameters. --- webcit/subst.h | 1 + 1 file changed, 1 insertion(+) 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 */ -- 2.30.2