Staging
v0.5.1
https://github.com/python/cpython
Revision e4a147b1bd0171a6138b61354fc0b3ac99c271ae authored by Serhiy Storchaka on 21 November 2016, 09:37:18 UTC, committed by Serhiy Storchaka on 21 November 2016, 09:37:18 UTC
The fields ml_name and ml_doc are of type "const char *" rather of "char *".
1 parent 8efc3c9
Raw File
Tip revision: e4a147b1bd0171a6138b61354fc0b3ac99c271ae authored by Serhiy Storchaka on 21 November 2016, 09:37:18 UTC
Fixed the documentation of the structure PyMethodDef.
Tip revision: e4a147b
pygetopt.h

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

PyAPI_DATA(int) _PyOS_opterr;
PyAPI_DATA(int) _PyOS_optind;
PyAPI_DATA(char *) _PyOS_optarg;

PyAPI_FUNC(void) _PyOS_ResetGetOpt(void);
PyAPI_FUNC(int) _PyOS_GetOpt(int argc, char **argv, char *optstring);

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