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/stringobject.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/stringobject.h')
-rw-r--r-- | Include/stringobject.h | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/Include/stringobject.h b/Include/stringobject.h index 8466821..7b9b53f 100644 --- a/Include/stringobject.h +++ b/Include/stringobject.h @@ -81,18 +81,18 @@ extern DL_IMPORT(PyTypeObject) PyString_Type; #define PyString_Check(op) ((op)->ob_type == &PyString_Type) -extern PyObject *PyString_FromStringAndSize Py_PROTO((const char *, int)); -extern PyObject *PyString_FromString Py_PROTO((const char *)); -extern int PyString_Size Py_PROTO((PyObject *)); -extern char *PyString_AsString Py_PROTO((PyObject *)); -extern void PyString_Concat Py_PROTO((PyObject **, PyObject *)); -extern void PyString_ConcatAndDel Py_PROTO((PyObject **, PyObject *)); -extern int _PyString_Resize Py_PROTO((PyObject **, int)); -extern PyObject *PyString_Format Py_PROTO((PyObject *, PyObject *)); +extern DL_IMPORT(PyObject *) PyString_FromStringAndSize Py_PROTO((const char *, int)); +extern DL_IMPORT(PyObject *) PyString_FromString Py_PROTO((const char *)); +extern DL_IMPORT(int) PyString_Size Py_PROTO((PyObject *)); +extern DL_IMPORT(char *) PyString_AsString Py_PROTO((PyObject *)); +extern DL_IMPORT(void) PyString_Concat Py_PROTO((PyObject **, PyObject *)); +extern DL_IMPORT(void) PyString_ConcatAndDel Py_PROTO((PyObject **, PyObject *)); +extern DL_IMPORT(int) _PyString_Resize Py_PROTO((PyObject **, int)); +extern DL_IMPORT(PyObject *) PyString_Format Py_PROTO((PyObject *, PyObject *)); #ifdef INTERN_STRINGS -extern void PyString_InternInPlace Py_PROTO((PyObject **)); -extern PyObject *PyString_InternFromString Py_PROTO((const char *)); +extern DL_IMPORT(void) PyString_InternInPlace Py_PROTO((PyObject **)); +extern DL_IMPORT(PyObject *) PyString_InternFromString Py_PROTO((const char *)); #else #define PyString_InternInPlace(p) #define PyString_InternFromString(cp) PyString_FromString(cp) |