2000-11-03 16:18:37 +08:00
|
|
|
|
|
|
|
#ifndef Py_PYGETOPT_H
|
|
|
|
#define Py_PYGETOPT_H
|
|
|
|
#ifdef __cplusplus
|
|
|
|
extern "C" {
|
|
|
|
#endif
|
|
|
|
|
2010-12-04 04:14:31 +08:00
|
|
|
#ifndef Py_LIMITED_API
|
2002-08-12 15:21:58 +08:00
|
|
|
PyAPI_DATA(int) _PyOS_opterr;
|
|
|
|
PyAPI_DATA(int) _PyOS_optind;
|
2008-04-06 04:41:37 +08:00
|
|
|
PyAPI_DATA(wchar_t *) _PyOS_optarg;
|
2012-02-22 02:03:47 +08:00
|
|
|
|
|
|
|
PyAPI_FUNC(void) _PyOS_ResetGetOpt(void);
|
2000-11-03 16:18:37 +08:00
|
|
|
|
2008-04-06 04:41:37 +08:00
|
|
|
PyAPI_FUNC(int) _PyOS_GetOpt(int argc, wchar_t **argv, wchar_t *optstring);
|
2016-09-11 16:03:14 +08:00
|
|
|
#endif /* !Py_LIMITED_API */
|
2000-11-03 16:18:37 +08:00
|
|
|
|
|
|
|
#ifdef __cplusplus
|
|
|
|
}
|
|
|
|
#endif
|
|
|
|
#endif /* !Py_PYGETOPT_H */
|