diff options
author | Guido van Rossum <guido@python.org> | 1998-12-04 18:48:25 (GMT) |
---|---|---|
committer | Guido van Rossum <guido@python.org> | 1998-12-04 18:48:25 (GMT) |
commit | 43466ec7b07de6bcad016bec60839cd6079c5a9c (patch) | |
tree | ec3bf3e1dfbf9535fa56e153e200f6491f34a6b0 /Include/node.h | |
parent | b241b67b8954b0679377af00d668e3dc92f4c858 (diff) | |
download | cpython-43466ec7b07de6bcad016bec60839cd6079c5a9c.zip cpython-43466ec7b07de6bcad016bec60839cd6079c5a9c.tar.gz cpython-43466ec7b07de6bcad016bec60839cd6079c5a9c.tar.bz2 |
Add DL_IMPORT(returntype) for all officially exported functions.
Diffstat (limited to 'Include/node.h')
-rw-r--r-- | Include/node.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/Include/node.h b/Include/node.h index 0575f4a..7f30923 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 } |