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 | |
Mark Hammond | 91a681d | 2002-08-12 07:21:58 +0000 | [diff] [blame] | 8 | PyAPI_DATA(int) _PyOS_opterr; |
| 9 | PyAPI_DATA(int) _PyOS_optind; |
| 10 | PyAPI_DATA(char *) _PyOS_optarg; |
Thomas Wouters | 2cffc7d | 2000-11-03 08:18:37 +0000 | [diff] [blame] | 11 | |
Mark Hammond | 91a681d | 2002-08-12 07:21:58 +0000 | [diff] [blame] | 12 | PyAPI_FUNC(int) _PyOS_GetOpt(int argc, char **argv, char *optstring); |
Thomas Wouters | 2cffc7d | 2000-11-03 08:18:37 +0000 | [diff] [blame] | 13 | |
| 14 | #ifdef __cplusplus |
| 15 | } |
| 16 | #endif |
| 17 | #endif /* !Py_PYGETOPT_H */ |