diff options
author | Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com> | 2021-07-29 11:31:42 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-07-29 11:31:42 (GMT) |
commit | 6b922dae6cae9f212d678a36e8b41f2287cf5441 (patch) | |
tree | 448c93f3f2c36812f8c4eadcf7b21670b4677c12 /PC | |
parent | b5bdc0c407d2d0587e591989e390ada9b9709502 (diff) | |
download | cpython-6b922dae6cae9f212d678a36e8b41f2287cf5441.zip cpython-6b922dae6cae9f212d678a36e8b41f2287cf5441.tar.gz cpython-6b922dae6cae9f212d678a36e8b41f2287cf5441.tar.bz2 |
bpo-41103: Resurrect the old buffer protocol. (GH-27437) (GH-27441)
Revert "bpo-41103: Remove old buffer protocol support (GH-21117)"
This reverts commit 6f8a6ee59cb7f99f68df8ee9c3e8c8cf19af3eed.
(cherry picked from commit ce5e1a6809b714eb0383219190a076d9f883e008)
Co-authored-by: Inada Naoki <songofacandy@gmail.com>
Diffstat (limited to 'PC')
-rwxr-xr-x | PC/python3dll.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/PC/python3dll.c b/PC/python3dll.c index 378669c..ba0a487 100755 --- a/PC/python3dll.c +++ b/PC/python3dll.c @@ -417,8 +417,11 @@ EXPORT_FUNC(PyNumber_Subtract) EXPORT_FUNC(PyNumber_ToBase) EXPORT_FUNC(PyNumber_TrueDivide) EXPORT_FUNC(PyNumber_Xor) +EXPORT_FUNC(PyObject_AsCharBuffer) EXPORT_FUNC(PyObject_ASCII) EXPORT_FUNC(PyObject_AsFileDescriptor) +EXPORT_FUNC(PyObject_AsReadBuffer) +EXPORT_FUNC(PyObject_AsWriteBuffer) EXPORT_FUNC(PyObject_Bytes) EXPORT_FUNC(PyObject_Call) EXPORT_FUNC(PyObject_CallFunction) @@ -428,6 +431,7 @@ EXPORT_FUNC(PyObject_CallMethodObjArgs) EXPORT_FUNC(PyObject_CallNoArgs) EXPORT_FUNC(PyObject_CallObject) EXPORT_FUNC(PyObject_Calloc) +EXPORT_FUNC(PyObject_CheckReadBuffer) EXPORT_FUNC(PyObject_ClearWeakRefs) EXPORT_FUNC(PyObject_DelItem) EXPORT_FUNC(PyObject_DelItemString) |