2021-08-08 04:08:33 +00:00
|
|
|
#ifndef Py_PYGETOPT_H
|
|
|
|
#define Py_PYGETOPT_H
|
2021-08-10 17:26:13 +00:00
|
|
|
COSMOPOLITAN_C_START_
|
|
|
|
/* clang-format off */
|
2021-08-08 04:08:33 +00:00
|
|
|
|
|
|
|
#ifndef Py_LIMITED_API
|
2021-08-12 07:42:14 +00:00
|
|
|
extern int _PyOS_opterr;
|
|
|
|
extern int _PyOS_optind;
|
|
|
|
extern wchar_t * _PyOS_optarg;
|
2021-08-08 04:08:33 +00:00
|
|
|
|
2021-08-12 07:42:14 +00:00
|
|
|
void _PyOS_ResetGetOpt(void);
|
2021-08-08 04:08:33 +00:00
|
|
|
|
2021-08-12 07:42:14 +00:00
|
|
|
int _PyOS_GetOpt(int argc, wchar_t **argv, wchar_t *optstring);
|
2021-08-08 04:08:33 +00:00
|
|
|
#endif /* !Py_LIMITED_API */
|
|
|
|
|
2021-08-10 17:26:13 +00:00
|
|
|
COSMOPOLITAN_C_END_
|
2021-08-08 04:08:33 +00:00
|
|
|
#endif /* !Py_PYGETOPT_H */
|