summaryrefslogtreecommitdiff
path: root/poptint.h
diff options
context:
space:
mode:
Diffstat (limited to 'poptint.h')
-rw-r--r--poptint.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/poptint.h b/poptint.h
index 80186eb..180e50c 100644
--- a/poptint.h
+++ b/poptint.h
@@ -69,7 +69,10 @@ typedef union poptArg_u {
} poptArg;
/*@=exporttype =fielduse@*/
-#define poptArgType(opt) ((opt)->argInfo & POPT_ARG_MASK)
+#define poptArgType(_opt) ((_opt)->argInfo & POPT_ARG_MASK)
+#define F_ISSET(_opt, _FLAG) ((_opt)->argInfo & POPT_ARGFLAG_##_FLAG)
+#define LF_ISSET(_FLAG) (argInfo & POPT_ARGFLAG_##_FLAG)
+#define CBF_ISSET(_opt, _FLAG) ((_opt)->argInfo & POPT_CBFLAG_##_FLAG)
/* XXX sick hack to preserve pretense of a popt-1.x ABI. */
#define poptSubstituteHelpI18N(opt) \