blob: 2049ae32bb1d4b0342d59c19ee15138f51e0b77f [file] [log] [blame]
Guido van Rossuma3309961993-07-28 09:05:47 +00001#ifndef Py_PGENHEADERS_H
2#define Py_PGENHEADERS_H
3#ifdef __cplusplus
4extern "C" {
5#endif
6
Guido van Rossumf70e43a1991-02-19 12:39:46 +00007
Guido van Rossumff18df01994-08-29 10:55:19 +00008/* Include files and extern declarations used by most of the parser. */
Guido van Rossum3f5da241990-12-20 15:06:42 +00009
Tim Peters51e7f5c2002-04-22 02:33:27 +000010#include "Python.h"
Guido van Rossuma3309961993-07-28 09:05:47 +000011
Mark Hammond91a681d2002-08-12 07:21:58 +000012PyAPI_FUNC(void) PySys_WriteStdout(const char *format, ...)
Neil Schemenauer96aa0ac2002-09-15 14:09:54 +000013 Py_GCC_ATTRIBUTE((format(printf, 1, 2)));
Mark Hammond91a681d2002-08-12 07:21:58 +000014PyAPI_FUNC(void) PySys_WriteStderr(const char *format, ...)
Neil Schemenauer96aa0ac2002-09-15 14:09:54 +000015 Py_GCC_ATTRIBUTE((format(printf, 1, 2)));
Guido van Rossum1d2e9d11998-09-17 14:00:22 +000016
Guido van Rossum5048de21996-05-24 20:43:31 +000017#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 Rossuma3309961993-07-28 09:05:47 +000039#ifdef __cplusplus
40}
41#endif
42#endif /* !Py_PGENHEADERS_H */