Staging
v0.5.1
https://github.com/python/cpython
Revision 684ef2c88882d4c1aaf325fd0a5845740f22c8b7 authored by Yury Selivanov on 28 October 2016, 23:01:21 UTC, committed by Yury Selivanov on 28 October 2016, 23:01:21 UTC
1 parent 833c626
Raw File
Tip revision: 684ef2c88882d4c1aaf325fd0a5845740f22c8b7 authored by Yury Selivanov on 28 October 2016, 23:01:21 UTC
Issue #28544: Pass `PyObject*` to _PyDict_Pop, not `PyDictObject*`
Tip revision: 684ef2c
pygetopt.h

#ifndef Py_PYGETOPT_H
#define Py_PYGETOPT_H
#ifdef __cplusplus
extern "C" {
#endif

#ifndef Py_LIMITED_API
PyAPI_DATA(int) _PyOS_opterr;
PyAPI_DATA(int) _PyOS_optind;
PyAPI_DATA(wchar_t *) _PyOS_optarg;

PyAPI_FUNC(void) _PyOS_ResetGetOpt(void);

PyAPI_FUNC(int) _PyOS_GetOpt(int argc, wchar_t **argv, wchar_t *optstring);
#endif /* !Py_LIMITED_API */

#ifdef __cplusplus
}
#endif
#endif /* !Py_PYGETOPT_H */
back to top