summaryrefslogtreecommitdiffstats
path: root/Include/pygetopt.h
diff options
context:
space:
mode:
Diffstat (limited to 'Include/pygetopt.h')
-rw-r--r--Include/pygetopt.h17
1 files changed, 17 insertions, 0 deletions
diff --git a/Include/pygetopt.h b/Include/pygetopt.h
new file mode 100644
index 0000000..9c74cbe
--- /dev/null
+++ b/Include/pygetopt.h
@@ -0,0 +1,17 @@
+
+#ifndef Py_PYGETOPT_H
+#define Py_PYGETOPT_H
+#ifdef __cplusplus
+extern "C" {
+#endif
+
+extern DL_IMPORT(int) _PyOS_opterr;
+extern DL_IMPORT(int) _PyOS_optind;
+extern DL_IMPORT(char *) _PyOS_optarg;
+
+DL_IMPORT(int) _PyOS_GetOpt(int argc, char **argv, char *optstring);
+
+#ifdef __cplusplus
+}
+#endif
+#endif /* !Py_PYGETOPT_H */