Thomas Wouters | 2cffc7d | 2000-11-03 08:18:37 +0000 | [diff] [blame] | 1 | |
| 2 | #ifndef Py_PYGETOPT_H |
| 3 | #define Py_PYGETOPT_H |
| 4 | #ifdef __cplusplus |
| 5 | extern "C" { |
| 6 | #endif |
| 7 | |
Martin v. Löwis | 4d0d471 | 2010-12-03 20:14:31 +0000 | [diff] [blame] | 8 | #ifndef Py_LIMITED_API |
Mark Hammond | 91a681d | 2002-08-12 07:21:58 +0000 | [diff] [blame] | 9 | PyAPI_DATA(int) _PyOS_opterr; |
| 10 | PyAPI_DATA(int) _PyOS_optind; |
Martin v. Löwis | 790465f | 2008-04-05 20:41:37 +0000 | [diff] [blame] | 11 | PyAPI_DATA(wchar_t *) _PyOS_optarg; |
Antoine Pitrou | 86838b0 | 2012-02-21 19:03:47 +0100 | [diff] [blame] | 12 | |
| 13 | PyAPI_FUNC(void) _PyOS_ResetGetOpt(void); |
Martin v. Löwis | 4d0d471 | 2010-12-03 20:14:31 +0000 | [diff] [blame] | 14 | #endif |
Thomas Wouters | 2cffc7d | 2000-11-03 08:18:37 +0000 | [diff] [blame] | 15 | |
Martin v. Löwis | 790465f | 2008-04-05 20:41:37 +0000 | [diff] [blame] | 16 | PyAPI_FUNC(int) _PyOS_GetOpt(int argc, wchar_t **argv, wchar_t *optstring); |
Thomas Wouters | 2cffc7d | 2000-11-03 08:18:37 +0000 | [diff] [blame] | 17 | |
| 18 | #ifdef __cplusplus |
| 19 | } |
| 20 | #endif |
| 21 | #endif /* !Py_PYGETOPT_H */ |