aboutsummaryrefslogtreecommitdiff
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
commit43466ec7b07de6bcad016bec60839cd6079c5a9c (patch)
treeec3bf3e1dfbf9535fa56e153e200f6491f34a6b0 /Include/compile.h
parentTurtle graphics (diff)
downloadcpython-43466ec7b07de6bcad016bec60839cd6079c5a9c.tar.gz
cpython-43466ec7b07de6bcad016bec60839cd6079c5a9c.tar.bz2
cpython-43466ec7b07de6bcad016bec60839cd6079c5a9c.zip
Add DL_IMPORT(returntype) for all officially exported functions.
Diffstat (limited to 'Include/compile.h')
-rw-r--r--Include/compile.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/Include/compile.h b/Include/compile.h
index b7356173573..f2d1a9a83e5 100644
--- a/Include/compile.h
+++ b/Include/compile.h
@@ -69,11 +69,11 @@ extern DL_IMPORT(PyTypeObject) PyCode_Type;
/* Public interface */
struct _node; /* Declare the existence of this type */
-PyCodeObject *PyNode_Compile Py_PROTO((struct _node *, char *));
-PyCodeObject *PyCode_New Py_PROTO((
+DL_IMPORT(PyCodeObject *) PyNode_Compile Py_PROTO((struct _node *, char *));
+DL_IMPORT(PyCodeObject *) PyCode_New Py_PROTO((
int, int, int, int, PyObject *, PyObject *, PyObject *, PyObject *,
PyObject *, PyObject *, int, PyObject *)); /* same as struct above */
-int PyCode_Addr2Line Py_PROTO((PyCodeObject *, int));
+DL_IMPORT(int) PyCode_Addr2Line Py_PROTO((PyCodeObject *, int));
/* for internal use only */
#define _PyCode_GETCODEPTR(co, pp) \