summaryrefslogtreecommitdiff
path: root/Include/node.h
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>1998-12-04 18:48:25 +0000
committerGuido van Rossum <guido@python.org>1998-12-04 18:48:25 +0000
commit6b5ad775859d0c41a25f0290f37954dcd2ccc484 (patch)
tree2dc4d5feb910b8303a091e3929fd8b72e29bd132 /Include/node.h
parent27913d4a7d3d5001643ba80ba86b432781669717 (diff)
downloadcpython-6b5ad775859d0c41a25f0290f37954dcd2ccc484.tar.gz
Add DL_IMPORT(returntype) for all officially exported functions.
Diffstat (limited to 'Include/node.h')
-rw-r--r--Include/node.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/Include/node.h b/Include/node.h
index 0575f4a80c..7f30923b5a 100644
--- a/Include/node.h
+++ b/Include/node.h
@@ -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
}