1#ifndef Py_INTERNAL_PYGETOPT_H
2#define Py_INTERNAL_PYGETOPT_H
3
4#ifndef Py_BUILD_CORE
5# error "this header requires Py_BUILD_CORE define"
6#endif
7
8extern int _PyOS_opterr;
9extern Py_ssize_t _PyOS_optind;
10extern const wchar_t *_PyOS_optarg;
11
12extern void _PyOS_ResetGetOpt(void);
13
14typedef struct {
15 const wchar_t *name;
16 int has_arg;
17 int val;
18} _PyOS_LongOption;
19
20extern int _PyOS_GetOpt(Py_ssize_t argc, wchar_t * const *argv, int *longindex);
21
22#endif /* !Py_INTERNAL_PYGETOPT_H */
23