blob: 425c7dd6546e937c84a188e51a79a1c8a8117ad6 [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);
Martin v. Löwis4d0d4712010-12-03 20:14:31 +000014#endif
Thomas Wouters2cffc7d2000-11-03 08:18:37 +000015
Martin v. Löwis790465f2008-04-05 20:41:37 +000016PyAPI_FUNC(int) _PyOS_GetOpt(int argc, wchar_t **argv, wchar_t *optstring);
Thomas Wouters2cffc7d2000-11-03 08:18:37 +000017
18#ifdef __cplusplus
19}
20#endif
21#endif /* !Py_PYGETOPT_H */