summaryrefslogtreecommitdiff
path: root/include/python2.7/pygetopt.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/python2.7/pygetopt.h')
-rw-r--r--include/python2.7/pygetopt.h18
1 files changed, 18 insertions, 0 deletions
diff --git a/include/python2.7/pygetopt.h b/include/python2.7/pygetopt.h
new file mode 100644
index 0000000..9860d36
--- /dev/null
+++ b/include/python2.7/pygetopt.h
@@ -0,0 +1,18 @@
+
+#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 */