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/compile.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/compile.h')
-rw-r--r-- | Include/compile.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Include/compile.h b/Include/compile.h index b735617..f2d1a9a 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) \ |