summaryrefslogtreecommitdiff
path: root/popt.h
diff options
context:
space:
mode:
authorjbj <jbj>2000-09-11 17:09:32 +0000
committerjbj <jbj>2000-09-11 17:09:32 +0000
commit4a96408516a91ea82df080568e960fad643cbbcc (patch)
treeef93662d6cc8feb15bc73a1bc165f61a2a6bf2fe /popt.h
parent56a8f0e55a92ef6bc6313ecc253c37db68aa2b63 (diff)
downloadlibpopt-4a96408516a91ea82df080568e960fad643cbbcc.tar.gz
- popt: support for float/double args.
Diffstat (limited to 'popt.h')
-rw-r--r--popt.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/popt.h b/popt.h
index b6e1f6b..d4dd489 100644
--- a/popt.h
+++ b/popt.h
@@ -31,6 +31,8 @@ extern "C" {
included tables; arg points
to the domain string */
#define POPT_ARG_VAL 7 /* arg should take value val */
+#define POPT_ARG_FLOAT 8 /* arg should be converted to float */
+#define POPT_ARG_DOUBLE 9 /* arg should be converted to double */
#define POPT_ARG_MASK 0x0000FFFF
#define POPT_ARGFLAG_ONEDASH 0x80000000 /* allow -longoption */