From 43466ec7b07de6bcad016bec60839cd6079c5a9c Mon Sep 17 00:00:00 2001 From: Guido van Rossum Date: Fri, 4 Dec 1998 18:48:25 +0000 Subject: Add DL_IMPORT(returntype) for all officially exported functions. --- Include/compile.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'Include/compile.h') 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) \ -- cgit v1.2.3-65-gdbad