Guido van Rossum | a330996 | 1993-07-28 09:05:47 +0000 | [diff] [blame] | 1 | #ifndef Py_PGENHEADERS_H |
| 2 | #define Py_PGENHEADERS_H |
| 3 | #ifdef __cplusplus |
| 4 | extern "C" { |
| 5 | #endif |
| 6 | |
Guido van Rossum | f70e43a | 1991-02-19 12:39:46 +0000 | [diff] [blame] | 7 | |
Guido van Rossum | ff18df0 | 1994-08-29 10:55:19 +0000 | [diff] [blame] | 8 | /* Include files and extern declarations used by most of the parser. */ |
Guido van Rossum | 3f5da24 | 1990-12-20 15:06:42 +0000 | [diff] [blame] | 9 | |
Tim Peters | 51e7f5c | 2002-04-22 02:33:27 +0000 | [diff] [blame] | 10 | #include "Python.h" |
Guido van Rossum | a330996 | 1993-07-28 09:05:47 +0000 | [diff] [blame] | 11 | |
Mark Hammond | 91a681d | 2002-08-12 07:21:58 +0000 | [diff] [blame] | 12 | PyAPI_FUNC(void) PySys_WriteStdout(const char *format, ...) |
Neil Schemenauer | 96aa0ac | 2002-09-15 14:09:54 +0000 | [diff] [blame] | 13 | Py_GCC_ATTRIBUTE((format(printf, 1, 2))); |
Mark Hammond | 91a681d | 2002-08-12 07:21:58 +0000 | [diff] [blame] | 14 | PyAPI_FUNC(void) PySys_WriteStderr(const char *format, ...) |
Neil Schemenauer | 96aa0ac | 2002-09-15 14:09:54 +0000 | [diff] [blame] | 15 | Py_GCC_ATTRIBUTE((format(printf, 1, 2))); |
Guido van Rossum | 1d2e9d1 | 1998-09-17 14:00:22 +0000 | [diff] [blame] | 16 | |
Guido van Rossum | 5048de2 | 1996-05-24 20:43:31 +0000 | [diff] [blame] | 17 | #define addarc _Py_addarc |
| 18 | #define addbit _Py_addbit |
| 19 | #define adddfa _Py_adddfa |
| 20 | #define addfirstsets _Py_addfirstsets |
| 21 | #define addlabel _Py_addlabel |
| 22 | #define addstate _Py_addstate |
| 23 | #define delbitset _Py_delbitset |
| 24 | #define dumptree _Py_dumptree |
| 25 | #define findlabel _Py_findlabel |
| 26 | #define mergebitset _Py_mergebitset |
| 27 | #define meta_grammar _Py_meta_grammar |
| 28 | #define newbitset _Py_newbitset |
| 29 | #define newgrammar _Py_newgrammar |
| 30 | #define pgen _Py_pgen |
| 31 | #define printgrammar _Py_printgrammar |
| 32 | #define printnonterminals _Py_printnonterminals |
| 33 | #define printtree _Py_printtree |
| 34 | #define samebitset _Py_samebitset |
| 35 | #define showtree _Py_showtree |
| 36 | #define tok_dump _Py_tok_dump |
| 37 | #define translatelabels _Py_translatelabels |
| 38 | |
Guido van Rossum | a330996 | 1993-07-28 09:05:47 +0000 | [diff] [blame] | 39 | #ifdef __cplusplus |
| 40 | } |
| 41 | #endif |
| 42 | #endif /* !Py_PGENHEADERS_H */ |