mirror of
https://github.com/python/cpython.git
synced 2025-08-30 13:38:43 +00:00
Add DL_IMPORT(returntype) for all officially exported functions.
This commit is contained in:
parent
b241b67b89
commit
43466ec7b0
44 changed files with 401 additions and 398 deletions
|
@ -45,9 +45,9 @@ typedef struct _node {
|
|||
struct _node *n_child;
|
||||
} node;
|
||||
|
||||
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));
|
||||
extern DL_IMPORT(node *) PyNode_New Py_PROTO((int type));
|
||||
extern DL_IMPORT(node *) PyNode_AddChild Py_PROTO((node *n, int type, char *str, int lineno));
|
||||
extern DL_IMPORT(void) PyNode_Free Py_PROTO((node *n));
|
||||
|
||||
/* Node access functions */
|
||||
#define NCH(n) ((n)->n_nchildren)
|
||||
|
@ -67,7 +67,7 @@ extern void PyNode_Free Py_PROTO((node *n));
|
|||
} }
|
||||
#endif
|
||||
|
||||
extern void PyNode_ListTree Py_PROTO((node *));
|
||||
extern DL_IMPORT(void) PyNode_ListTree Py_PROTO((node *));
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue