• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 #ifndef Py_INTERNAL_PYGETOPT_H
2 #define Py_INTERNAL_PYGETOPT_H
3 
4 extern int _PyOS_opterr;
5 extern int _PyOS_optind;
6 extern wchar_t *_PyOS_optarg;
7 
8 extern void _PyOS_ResetGetOpt(void);
9 
10 typedef struct {
11     const wchar_t *name;
12     int has_arg;
13     int val;
14 } _PyOS_LongOption;
15 
16 extern int _PyOS_GetOpt(int argc, wchar_t **argv, wchar_t *optstring,
17                         const _PyOS_LongOption *longopts, int *longindex);
18 
19 #endif /* !Py_INTERNAL_PYGETOPT_H */
20