mirror of
https://github.com/python/cpython.git
synced 2026-01-06 15:32:22 +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
|
|
@ -38,9 +38,9 @@ typedef struct _node {
|
|||
struct _node *n_child;
|
||||
} node;
|
||||
|
||||
extern node *newtree PROTO((int type));
|
||||
extern node *addchild PROTO((node *n, int type, char *str, int lineno));
|
||||
extern void freetree PROTO((node *n));
|
||||
extern node *PyNode_New Py_PROTO((int type));
|
||||
extern node *PyNode_AddChild Py_PROTO((node *n, int type, char *str, int lineno));
|
||||
extern void PyNode_Free Py_PROTO((node *n));
|
||||
|
||||
/* Node access functions */
|
||||
#define NCH(n) ((n)->n_nchildren)
|
||||
|
|
@ -60,7 +60,7 @@ extern void freetree PROTO((node *n));
|
|||
} }
|
||||
#endif
|
||||
|
||||
extern void listtree PROTO((node *));
|
||||
extern void PyNode_ListTree Py_PROTO((node *));
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue