aboutsummaryrefslogtreecommitdiffstats
path: root/contrib/python
diff options
context:
space:
mode:
authordanlark <danlark@yandex-team.ru>2022-02-10 16:46:08 +0300
committerDaniil Cherednik <dcherednik@yandex-team.ru>2022-02-10 16:46:08 +0300
commit3426a9bc7f169ae9da54cef557ad2a33f6e8eee0 (patch)
tree26154e1e9990f1bb4525d3e3fb5b6dac2c2c1da2 /contrib/python
parentcb68f224c46a8ee52ac3fdd2a32534b8bb8dc134 (diff)
downloadydb-3426a9bc7f169ae9da54cef557ad2a33f6e8eee0.tar.gz
Restoring authorship annotation for <danlark@yandex-team.ru>. Commit 1 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 581d659982..951e78485b 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 399b55130b..97dcd3aca5 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) {