diff options
author | Mark Hammond <mhammond@skippinet.com.au> | 2002-08-12 07:21:58 (GMT) |
---|---|---|
committer | Mark Hammond <mhammond@skippinet.com.au> | 2002-08-12 07:21:58 (GMT) |
commit | 91a681debf9ffec155d0aff8a0bb5f965f592e16 (patch) | |
tree | 09f28782e3b0a24e64deddeafc9df24ac93855ca /Include/codecs.h | |
parent | 44121a6bc9828c993932b87e442440dc4f260f3c (diff) | |
download | cpython-91a681debf9ffec155d0aff8a0bb5f965f592e16.zip cpython-91a681debf9ffec155d0aff8a0bb5f965f592e16.tar.gz cpython-91a681debf9ffec155d0aff8a0bb5f965f592e16.tar.bz2 |
Excise DL_EXPORT from Include.
Thanks to Skip Montanaro and Kalle Svensson for the patches.
Diffstat (limited to 'Include/codecs.h')
-rw-r--r-- | Include/codecs.h | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/Include/codecs.h b/Include/codecs.h index eee74a7..2cc4d7d 100644 --- a/Include/codecs.h +++ b/Include/codecs.h @@ -23,7 +23,7 @@ Copyright (c) Corporation for National Research Initiatives. The search_function's refcount is incremented by this function. */ -extern DL_IMPORT(int) PyCodec_Register( +PyAPI_FUNC(int) PyCodec_Register( PyObject *search_function ); @@ -45,7 +45,7 @@ extern DL_IMPORT(int) PyCodec_Register( */ -extern DL_IMPORT(PyObject *) _PyCodec_Lookup( +PyAPI_FUNC(PyObject *) _PyCodec_Lookup( const char *encoding ); @@ -59,7 +59,7 @@ extern DL_IMPORT(PyObject *) _PyCodec_Lookup( */ -extern DL_IMPORT(PyObject *) PyCodec_Encode( +PyAPI_FUNC(PyObject *) PyCodec_Encode( PyObject *object, const char *encoding, const char *errors @@ -75,7 +75,7 @@ extern DL_IMPORT(PyObject *) PyCodec_Encode( */ -extern DL_IMPORT(PyObject *) PyCodec_Decode( +PyAPI_FUNC(PyObject *) PyCodec_Decode( PyObject *object, const char *encoding, const char *errors @@ -91,19 +91,19 @@ extern DL_IMPORT(PyObject *) PyCodec_Decode( /* Get an encoder function for the given encoding. */ -extern DL_IMPORT(PyObject *) PyCodec_Encoder( +PyAPI_FUNC(PyObject *) PyCodec_Encoder( const char *encoding ); /* Get a decoder function for the given encoding. */ -extern DL_IMPORT(PyObject *) PyCodec_Decoder( +PyAPI_FUNC(PyObject *) PyCodec_Decoder( const char *encoding ); /* Get a StreamReader factory function for the given encoding. */ -extern DL_IMPORT(PyObject *) PyCodec_StreamReader( +PyAPI_FUNC(PyObject *) PyCodec_StreamReader( const char *encoding, PyObject *stream, const char *errors @@ -111,7 +111,7 @@ extern DL_IMPORT(PyObject *) PyCodec_StreamReader( /* Get a StreamWriter factory function for the given encoding. */ -extern DL_IMPORT(PyObject *) PyCodec_StreamWriter( +PyAPI_FUNC(PyObject *) PyCodec_StreamWriter( const char *encoding, PyObject *stream, const char *errors |