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