Staging
v0.5.1
https://github.com/python/cpython
Raw File
Tip revision: 47f075d96b9c205c6731f8599206172c3e209242 authored by Benjamin Peterson on 01 December 2020, 15:05:57 UTC
[3.7] Bumps [actions/cache](https://github.com/actions/cache) from v1 to v2.1.3. (GH-23596)
Tip revision: 47f075d
pygetopt.h
#ifndef Py_INTERNAL_PYGETOPT_H
#define Py_INTERNAL_PYGETOPT_H

extern int _PyOS_opterr;
extern int _PyOS_optind;
extern wchar_t *_PyOS_optarg;

extern void _PyOS_ResetGetOpt(void);

typedef struct {
    const wchar_t *name;
    int has_arg;
    int val;
} _PyOS_LongOption;

extern int _PyOS_GetOpt(int argc, wchar_t **argv, wchar_t *optstring,
                        const _PyOS_LongOption *longopts, int *longindex);

#endif /* !Py_INTERNAL_PYGETOPT_H */
back to top