1 2 #ifndef Py_PYGETOPT_H 3 #define Py_PYGETOPT_H 4 #ifdef __cplusplus 5 extern "C" { 6 #endif 7 8 #ifndef Py_LIMITED_API 9 PyAPI_DATA(int) _PyOS_opterr; 10 PyAPI_DATA(int) _PyOS_optind; 11 PyAPI_DATA(wchar_t *) _PyOS_optarg; 12 13 PyAPI_FUNC(void) _PyOS_ResetGetOpt(void); 14 15 PyAPI_FUNC(int) _PyOS_GetOpt(int argc, wchar_t **argv, wchar_t *optstring); 16 #endif /* !Py_LIMITED_API */ 17 18 #ifdef __cplusplus 19 } 20 #endif 21 #endif /* !Py_PYGETOPT_H */ 22