blob: 962720c876c71f086b4356bc2a5feb95527b45e2 [file] [log] [blame]
Thomas Wouters2cffc7d2000-11-03 08:18:37 +00001
2#ifndef Py_PYGETOPT_H
3#define Py_PYGETOPT_H
4#ifdef __cplusplus
5extern "C" {
6#endif
7
Martin v. Löwis4d0d4712010-12-03 20:14:31 +00008#ifndef Py_LIMITED_API
Mark Hammond91a681d2002-08-12 07:21:58 +00009PyAPI_DATA(int) _PyOS_opterr;
10PyAPI_DATA(int) _PyOS_optind;
Martin v. Löwis790465f2008-04-05 20:41:37 +000011PyAPI_DATA(wchar_t *) _PyOS_optarg;
Antoine Pitrou86838b02012-02-21 19:03:47 +010012
13PyAPI_FUNC(void) _PyOS_ResetGetOpt(void);
Thomas Wouters2cffc7d2000-11-03 08:18:37 +000014
Martin v. Löwis790465f2008-04-05 20:41:37 +000015PyAPI_FUNC(int) _PyOS_GetOpt(int argc, wchar_t **argv, wchar_t *optstring);
Serhiy Storchaka9fab79b2016-09-11 11:03:14 +030016#endif /* !Py_LIMITED_API */
Thomas Wouters2cffc7d2000-11-03 08:18:37 +000017
18#ifdef __cplusplus
19}
20#endif
21#endif /* !Py_PYGETOPT_H */