annotate Include/pygetopt.h @ 79675:c0a2294de787 2.7

Issue #16199: Backport 2to3 typo fix from 3.2.
author Chris Jerdonek <chris.jerdonek@gmail.com>
date Thu, 11 Oct 2012 16:15:46 -0700
parents 0abffbe7cf22
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
15374
a826a46bae54 Move our own getopt() implementation to _PyOS_GetOpt(), and use it
Thomas Wouters <thomas@python.org>
parents:
diff changeset
1
a826a46bae54 Move our own getopt() implementation to _PyOS_GetOpt(), and use it
Thomas Wouters <thomas@python.org>
parents:
diff changeset
2 #ifndef Py_PYGETOPT_H
a826a46bae54 Move our own getopt() implementation to _PyOS_GetOpt(), and use it
Thomas Wouters <thomas@python.org>
parents:
diff changeset
3 #define Py_PYGETOPT_H
a826a46bae54 Move our own getopt() implementation to _PyOS_GetOpt(), and use it
Thomas Wouters <thomas@python.org>
parents:
diff changeset
4 #ifdef __cplusplus
a826a46bae54 Move our own getopt() implementation to _PyOS_GetOpt(), and use it
Thomas Wouters <thomas@python.org>
parents:
diff changeset
5 extern "C" {
a826a46bae54 Move our own getopt() implementation to _PyOS_GetOpt(), and use it
Thomas Wouters <thomas@python.org>
parents:
diff changeset
6 #endif
a826a46bae54 Move our own getopt() implementation to _PyOS_GetOpt(), and use it
Thomas Wouters <thomas@python.org>
parents:
diff changeset
7
24752
c1eb668525e1 Excise DL_EXPORT from Include.
Mark Hammond <mhammond@skippinet.com.au>
parents: 15374
diff changeset
8 PyAPI_DATA(int) _PyOS_opterr;
c1eb668525e1 Excise DL_EXPORT from Include.
Mark Hammond <mhammond@skippinet.com.au>
parents: 15374
diff changeset
9 PyAPI_DATA(int) _PyOS_optind;
c1eb668525e1 Excise DL_EXPORT from Include.
Mark Hammond <mhammond@skippinet.com.au>
parents: 15374
diff changeset
10 PyAPI_DATA(char *) _PyOS_optarg;
15374
a826a46bae54 Move our own getopt() implementation to _PyOS_GetOpt(), and use it
Thomas Wouters <thomas@python.org>
parents:
diff changeset
11
75147
0abffbe7cf22 Fix crash at startup with -W options.
Antoine Pitrou <solipsis@pitrou.net>
parents: 24752
diff changeset
12 PyAPI_FUNC(void) _PyOS_ResetGetOpt(void);
24752
c1eb668525e1 Excise DL_EXPORT from Include.
Mark Hammond <mhammond@skippinet.com.au>
parents: 15374
diff changeset
13 PyAPI_FUNC(int) _PyOS_GetOpt(int argc, char **argv, char *optstring);
15374
a826a46bae54 Move our own getopt() implementation to _PyOS_GetOpt(), and use it
Thomas Wouters <thomas@python.org>
parents:
diff changeset
14
a826a46bae54 Move our own getopt() implementation to _PyOS_GetOpt(), and use it
Thomas Wouters <thomas@python.org>
parents:
diff changeset
15 #ifdef __cplusplus
a826a46bae54 Move our own getopt() implementation to _PyOS_GetOpt(), and use it
Thomas Wouters <thomas@python.org>
parents:
diff changeset
16 }
a826a46bae54 Move our own getopt() implementation to _PyOS_GetOpt(), and use it
Thomas Wouters <thomas@python.org>
parents:
diff changeset
17 #endif
a826a46bae54 Move our own getopt() implementation to _PyOS_GetOpt(), and use it
Thomas Wouters <thomas@python.org>
parents:
diff changeset
18 #endif /* !Py_PYGETOPT_H */