148 |
inline Arg CRadix(type* ptr) { \ |
inline Arg CRadix(type* ptr) { \ |
149 |
return Arg(ptr, Arg::parse_ ## name ## _cradix); } |
return Arg(ptr, Arg::parse_ ## name ## _cradix); } |
150 |
|
|
151 |
MAKE_INTEGER_PARSER(short, short); |
MAKE_INTEGER_PARSER(short, short) /* */ |
152 |
MAKE_INTEGER_PARSER(unsigned short, ushort); |
MAKE_INTEGER_PARSER(unsigned short, ushort) /* */ |
153 |
MAKE_INTEGER_PARSER(int, int); |
MAKE_INTEGER_PARSER(int, int) /* Don't use semicolons */ |
154 |
MAKE_INTEGER_PARSER(unsigned int, uint); |
MAKE_INTEGER_PARSER(unsigned int, uint) /* after these statement */ |
155 |
MAKE_INTEGER_PARSER(long, long); |
MAKE_INTEGER_PARSER(long, long) /* because they can cause */ |
156 |
MAKE_INTEGER_PARSER(unsigned long, ulong); |
MAKE_INTEGER_PARSER(unsigned long, ulong) /* compiler warnings if */ |
157 |
#if @pcre_have_long_long@ |
#if @pcre_have_long_long@ /* the checking level is */ |
158 |
MAKE_INTEGER_PARSER(long long, longlong); |
MAKE_INTEGER_PARSER(long long, longlong) /* turned up high enough. */ |
159 |
#endif |
#endif /* */ |
160 |
#if @pcre_have_ulong_long@ |
#if @pcre_have_ulong_long@ /* */ |
161 |
MAKE_INTEGER_PARSER(unsigned long long, ulonglong); |
MAKE_INTEGER_PARSER(unsigned long long, ulonglong) /* */ |
162 |
#endif |
#endif |
163 |
|
|
164 |
#undef PCRE_IS_SET |
#undef PCRE_IS_SET |