mirror of
https://github.com/python/cpython.git
synced 2025-11-01 18:51:43 +00:00
The great renaming, phase two: all header files have been updated to
use the new names exclusively, and the linker will see the new names. Files that import "Python.h" also only see the new names. Files that import "allobjects.h" will continue to be able to use the old names, due to the inclusion (in allobjects.h) of "rename2.h".
This commit is contained in:
parent
94390ec2a6
commit
caa6380886
48 changed files with 982 additions and 579 deletions
|
|
@ -91,24 +91,24 @@ typedef struct {
|
|||
|
||||
/* FUNCTIONS */
|
||||
|
||||
grammar *newgrammar PROTO((int start));
|
||||
dfa *adddfa PROTO((grammar *g, int type, char *name));
|
||||
int addstate PROTO((dfa *d));
|
||||
void addarc PROTO((dfa *d, int from, int to, int lbl));
|
||||
dfa *finddfa PROTO((grammar *g, int type));
|
||||
char *typename PROTO((grammar *g, int lbl));
|
||||
grammar *newgrammar Py_PROTO((int start));
|
||||
dfa *adddfa Py_PROTO((grammar *g, int type, char *name));
|
||||
int addstate Py_PROTO((dfa *d));
|
||||
void addarc Py_PROTO((dfa *d, int from, int to, int lbl));
|
||||
dfa *PyGrammar_FindDFA Py_PROTO((grammar *g, int type));
|
||||
char *typename Py_PROTO((grammar *g, int lbl));
|
||||
|
||||
int addlabel PROTO((labellist *ll, int type, char *str));
|
||||
int findlabel PROTO((labellist *ll, int type, char *str));
|
||||
char *labelrepr PROTO((label *lb));
|
||||
void translatelabels PROTO((grammar *g));
|
||||
int addlabel Py_PROTO((labellist *ll, int type, char *str));
|
||||
int findlabel Py_PROTO((labellist *ll, int type, char *str));
|
||||
char *PyGrammar_LabelRepr Py_PROTO((label *lb));
|
||||
void translatelabels Py_PROTO((grammar *g));
|
||||
|
||||
void addfirstsets PROTO((grammar *g));
|
||||
void addfirstsets Py_PROTO((grammar *g));
|
||||
|
||||
void addaccelerators PROTO((grammar *g));
|
||||
void PyGrammar_AddAccelerators Py_PROTO((grammar *g));
|
||||
|
||||
void printgrammar PROTO((grammar *g, FILE *fp));
|
||||
void printnonterminals PROTO((grammar *g, FILE *fp));
|
||||
void printgrammar Py_PROTO((grammar *g, FILE *fp));
|
||||
void printnonterminals Py_PROTO((grammar *g, FILE *fp));
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue