diff options
author | arcadia-devtools <arcadia-devtools@yandex-team.ru> | 2022-02-11 11:03:03 +0300 |
---|---|---|
committer | arcadia-devtools <arcadia-devtools@yandex-team.ru> | 2022-02-11 11:03:03 +0300 |
commit | 9e0f7aea7799e801eb90af47c09825358537a718 (patch) | |
tree | 1baef65b00ef396862a4bbadb1fb62237ac929dc /contrib/tools | |
parent | a9af1955eae1da5beab8f35afe22635c467084b7 (diff) | |
download | ydb-9e0f7aea7799e801eb90af47c09825358537a718.tar.gz |
intermediate changes
ref:23d75af30a9649405a1b3643fbbd9810cf9f1987
Diffstat (limited to 'contrib/tools')
-rw-r--r-- | contrib/tools/python/src/Include/stringobject.h | 6 | ||||
-rw-r--r-- | contrib/tools/python/src/Include/unicodeobject.h | 8 |
2 files changed, 7 insertions, 7 deletions
diff --git a/contrib/tools/python/src/Include/stringobject.h b/contrib/tools/python/src/Include/stringobject.h index 12cc093c62..def7e61099 100644 --- a/contrib/tools/python/src/Include/stringobject.h +++ b/contrib/tools/python/src/Include/stringobject.h @@ -170,9 +170,9 @@ PyAPI_FUNC(PyObject*) PyString_AsDecodedString( cause an exception). */ PyAPI_FUNC(int) PyString_AsStringAndSize( - register PyObject *obj, /* string or Unicode object */ - register char **s, /* pointer to buffer variable */ - register Py_ssize_t *len /* pointer to length variable or NULL + PyObject *obj, /* string or Unicode object */ + char **s, /* pointer to buffer variable */ + Py_ssize_t *len /* pointer to length variable or NULL (only possible for 0-terminated strings) */ ); diff --git a/contrib/tools/python/src/Include/unicodeobject.h b/contrib/tools/python/src/Include/unicodeobject.h index 94419760c5..3ba86e71b2 100644 --- a/contrib/tools/python/src/Include/unicodeobject.h +++ b/contrib/tools/python/src/Include/unicodeobject.h @@ -539,7 +539,7 @@ PyAPI_FUNC(int) PyUnicode_Resize( */ PyAPI_FUNC(PyObject*) PyUnicode_FromEncodedObject( - register PyObject *obj, /* Object */ + PyObject *obj, /* Object */ const char *encoding, /* encoding */ const char *errors /* error handling */ ); @@ -558,7 +558,7 @@ PyAPI_FUNC(PyObject*) PyUnicode_FromEncodedObject( */ PyAPI_FUNC(PyObject*) PyUnicode_FromObject( - register PyObject *obj /* Object */ + PyObject *obj /* Object */ ); PyAPI_FUNC(PyObject *) PyUnicode_FromFormatV(const char*, va_list); @@ -580,7 +580,7 @@ PyAPI_FUNC(PyObject *) _PyUnicode_FormatAdvanced(PyObject *obj, The buffer is copied into the new object. */ PyAPI_FUNC(PyObject*) PyUnicode_FromWideChar( - register const wchar_t *w, /* wchar_t buffer */ + const wchar_t *w, /* wchar_t buffer */ Py_ssize_t size /* size of buffer */ ); @@ -598,7 +598,7 @@ PyAPI_FUNC(PyObject*) PyUnicode_FromWideChar( PyAPI_FUNC(Py_ssize_t) PyUnicode_AsWideChar( PyUnicodeObject *unicode, /* Unicode object */ - register wchar_t *w, /* wchar_t buffer */ + wchar_t *w, /* wchar_t buffer */ Py_ssize_t size /* size of buffer */ ); |