Benjamin Peterson | e425bd7 | 2017-12-14 23:48:12 -0800 | [diff] [blame^] | 1 | #ifndef Py_INTERNAL_PYGETOPT_H |
2 | #define Py_INTERNAL_PYGETOPT_H | ||||
3 | |||||
4 | int _PyOS_opterr; | ||||
5 | int _PyOS_optind; | ||||
6 | wchar_t *_PyOS_optarg; | ||||
7 | |||||
8 | void _PyOS_ResetGetOpt(void); | ||||
9 | |||||
10 | typedef struct { | ||||
11 | const wchar_t *name; | ||||
12 | int has_arg; | ||||
13 | int val; | ||||
14 | } _PyOS_LongOption; | ||||
15 | |||||
16 | int _PyOS_GetOpt(int argc, wchar_t **argv, wchar_t *optstring, | ||||
17 | const _PyOS_LongOption *longopts, int *longindex); | ||||
18 | |||||
19 | #endif /* !Py_INTERNAL_PYGETOPT_H */ |