Add better error reporting for MemoryErrors caused by str->float conversions.
[python.git] / Include / pygetopt.h
blob80908bea982d371838825aa2ef185326887f60e7
2 #ifndef Py_PYGETOPT_H
3 #define Py_PYGETOPT_H
4 #ifdef __cplusplus
5 extern "C" {
6 #endif
8 PyAPI_DATA(int) _PyOS_opterr;
9 PyAPI_DATA(int) _PyOS_optind;
10 PyAPI_DATA(char *) _PyOS_optarg;
12 PyAPI_FUNC(int) _PyOS_GetOpt(int argc, char **argv, char *optstring);
14 #ifdef __cplusplus
16 #endif
17 #endif /* !Py_PYGETOPT_H */