summaryrefslogtreecommitdiffstats
path: root/Include/funcobject.h
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>1995-02-27 10:17:52 (GMT)
committerGuido van Rossum <guido@python.org>1995-02-27 10:17:52 (GMT)
commit051ab123b465685e714668099c0a6dd86de5673b (patch)
tree16ee109ab64b01f19e289a3c284c7ce9b70618fa /Include/funcobject.h
parent0fbec64c56e5f2644b4e23a458a42ca273fd4888 (diff)
downloadcpython-051ab123b465685e714668099c0a6dd86de5673b.zip
cpython-051ab123b465685e714668099c0a6dd86de5673b.tar.gz
cpython-051ab123b465685e714668099c0a6dd86de5673b.tar.bz2
make the type a parameter of the DL_IMPORT macro, for Borland C
Diffstat (limited to 'Include/funcobject.h')
-rw-r--r--Include/funcobject.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/Include/funcobject.h b/Include/funcobject.h
index d33cad7..f618363 100644
--- a/Include/funcobject.h
+++ b/Include/funcobject.h
@@ -40,7 +40,7 @@ typedef struct {
PyObject *func_doc;
} PyFunctionObject;
-extern DL_IMPORT PyTypeObject PyFunction_Type;
+extern DL_IMPORT(PyTypeObject) PyFunction_Type;
#define PyFunction_Check(op) ((op)->ob_type == &PyFunction_Type)