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/structmember.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/structmember.h')
-rw-r--r-- | Include/structmember.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Include/structmember.h b/Include/structmember.h index 9d19dff..1dd763b 100644 --- a/Include/structmember.h +++ b/Include/structmember.h @@ -92,8 +92,8 @@ struct memberlist { #define READONLY 1 #define RO READONLY /* Shorthand */ -PyObject *PyMember_Get Py_PROTO((char *, struct memberlist *, char *)); -int PyMember_Set Py_PROTO((char *, struct memberlist *, char *, PyObject *)); +DL_IMPORT(PyObject *) PyMember_Get Py_PROTO((char *, struct memberlist *, char *)); +DL_IMPORT(int) PyMember_Set Py_PROTO((char *, struct memberlist *, char *, PyObject *)); #ifdef __cplusplus } |