aboutsummaryrefslogtreecommitdiffstats
path: root/contrib/python
diff options
context:
space:
mode:
authordanlark <danlark@yandex-team.ru>2022-02-10 16:46:10 +0300
committerDaniil Cherednik <dcherednik@yandex-team.ru>2022-02-10 16:46:10 +0300
commitbaa58daefa91fde4b4769facdbd2903763b9c6a8 (patch)
tree1a2c5ffcf89eb53ecd79dbc9bc0a195c27404d0c /contrib/python
parent3426a9bc7f169ae9da54cef557ad2a33f6e8eee0 (diff)
downloadydb-baa58daefa91fde4b4769facdbd2903763b9c6a8.tar.gz
Restoring authorship annotation for <danlark@yandex-team.ru>. Commit 2 of 2.
Diffstat (limited to 'contrib/python')
-rw-r--r--contrib/python/cffi/c/libffi_msvc/ffi.c16
-rw-r--r--contrib/python/cffi/c/wchar_helper.h4
2 files changed, 10 insertions, 10 deletions
diff --git a/contrib/python/cffi/c/libffi_msvc/ffi.c b/contrib/python/cffi/c/libffi_msvc/ffi.c
index 951e78485b..581d659982 100644
--- a/contrib/python/cffi/c/libffi_msvc/ffi.c
+++ b/contrib/python/cffi/c/libffi_msvc/ffi.c
@@ -40,10 +40,10 @@ extern void Py_FatalError(const char *msg);
void ffi_prep_args(char *stack, extended_cif *ecif)
/*@=exportheader@*/
{
- unsigned int i;
- void **p_argv;
- char *argp;
- ffi_type **p_arg;
+ unsigned int i;
+ void **p_argv;
+ char *argp;
+ ffi_type **p_arg;
argp = stack;
if (ecif->cif->flags == FFI_TYPE_STRUCT)
@@ -354,10 +354,10 @@ ffi_prep_incoming_args_SYSV(char *stack, void **rvalue,
void **avalue, ffi_cif *cif)
/*@=exportheader@*/
{
- unsigned int i;
- void **p_argv;
- char *argp;
- ffi_type **p_arg;
+ unsigned int i;
+ void **p_argv;
+ char *argp;
+ ffi_type **p_arg;
argp = stack;
diff --git a/contrib/python/cffi/c/wchar_helper.h b/contrib/python/cffi/c/wchar_helper.h
index 97dcd3aca5..399b55130b 100644
--- a/contrib/python/cffi/c/wchar_helper.h
+++ b/contrib/python/cffi/c/wchar_helper.h
@@ -20,7 +20,7 @@ static PyObject *
_my_PyUnicode_FromChar32(const cffi_char32_t *w, Py_ssize_t size)
{
PyObject *unicode;
- Py_ssize_t i;
+ Py_ssize_t i;
Py_ssize_t alloc;
const cffi_char32_t *orig_w;
@@ -38,7 +38,7 @@ _my_PyUnicode_FromChar32(const cffi_char32_t *w, Py_ssize_t size)
/* Copy the wchar_t data into the new object */
{
- Py_UNICODE *u;
+ Py_UNICODE *u;
u = PyUnicode_AS_UNICODE(unicode);
for (i = size; i > 0; i--) {
if (*w > 0xFFFF) {