summaryrefslogtreecommitdiffstats
path: root/Include/pygetopt.h
diff options
context:
space:
mode:
authorBenjamin Peterson <benjamin@python.org>2017-12-15 07:48:12 (GMT)
committerGitHub <noreply@github.com>2017-12-15 07:48:12 (GMT)
commite425bd75177ffb7f098bdb0618b4a5ba3211fe52 (patch)
tree459f866641039b9111acff53ed3a0aaecce8ffd6 /Include/pygetopt.h
parentf74ef458ab1f502e4e60bd1502ac1dc0d2cb3847 (diff)
downloadcpython-e425bd75177ffb7f098bdb0618b4a5ba3211fe52.zip
cpython-e425bd75177ffb7f098bdb0618b4a5ba3211fe52.tar.gz
cpython-e425bd75177ffb7f098bdb0618b4a5ba3211fe52.tar.bz2
move pygetopt.h to internal (closes bpo-32264) (#4830)
Diffstat (limited to 'Include/pygetopt.h')
-rw-r--r--Include/pygetopt.h28
1 files changed, 0 insertions, 28 deletions
diff --git a/Include/pygetopt.h b/Include/pygetopt.h
deleted file mode 100644
index 3e3fe36..0000000
--- a/Include/pygetopt.h
+++ /dev/null
@@ -1,28 +0,0 @@
-
-#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);
-
-typedef struct {
- const wchar_t *name;
- int has_arg;
- int val;
-} _PyOS_LongOption;
-
-PyAPI_FUNC(int) _PyOS_GetOpt(int argc, wchar_t **argv, wchar_t *optstring,
- const _PyOS_LongOption *longopts, int *longindex);
-#endif /* !Py_LIMITED_API */
-
-#ifdef __cplusplus
-}
-#endif
-#endif /* !Py_PYGETOPT_H */