diff options
author | thegeorg <thegeorg@yandex-team.ru> | 2022-02-10 16:45:08 +0300 |
---|---|---|
committer | Daniil Cherednik <dcherednik@yandex-team.ru> | 2022-02-10 16:45:08 +0300 |
commit | 4e839db24a3bbc9f1c610c43d6faaaa99824dcca (patch) | |
tree | 506dac10f5df94fab310584ee51b24fc5a081c22 /contrib/tools/python/src/Include | |
parent | 2d37894b1b037cf24231090eda8589bbb44fb6fc (diff) | |
download | ydb-4e839db24a3bbc9f1c610c43d6faaaa99824dcca.tar.gz |
Restoring authorship annotation for <thegeorg@yandex-team.ru>. Commit 1 of 2.
Diffstat (limited to 'contrib/tools/python/src/Include')
-rw-r--r-- | contrib/tools/python/src/Include/abstract.h | 12 | ||||
-rw-r--r-- | contrib/tools/python/src/Include/descrobject.h | 4 | ||||
-rw-r--r-- | contrib/tools/python/src/Include/pythonrun.h | 2 | ||||
-rw-r--r-- | contrib/tools/python/src/Include/sysmodule.h | 4 |
4 files changed, 11 insertions, 11 deletions
diff --git a/contrib/tools/python/src/Include/abstract.h b/contrib/tools/python/src/Include/abstract.h index 7818e45304..7785df6677 100644 --- a/contrib/tools/python/src/Include/abstract.h +++ b/contrib/tools/python/src/Include/abstract.h @@ -324,7 +324,7 @@ xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx*/ */ PyAPI_FUNC(PyObject *) PyObject_CallFunction(PyObject *callable_object, - const char *format, ...); + const char *format, ...); /* Call a callable Python object, callable_object, with a @@ -337,8 +337,8 @@ xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx*/ */ - PyAPI_FUNC(PyObject *) PyObject_CallMethod(PyObject *o, const char *m, - const char *format, ...); + PyAPI_FUNC(PyObject *) PyObject_CallMethod(PyObject *o, const char *m, + const char *format, ...); /* Call the method named m of object o with a variable number of @@ -350,10 +350,10 @@ xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx*/ */ PyAPI_FUNC(PyObject *) _PyObject_CallFunction_SizeT(PyObject *callable, - const char *format, ...); + const char *format, ...); PyAPI_FUNC(PyObject *) _PyObject_CallMethod_SizeT(PyObject *o, - const char *name, - const char *format, ...); + const char *name, + const char *format, ...); PyAPI_FUNC(PyObject *) PyObject_CallFunctionObjArgs(PyObject *callable, ...); diff --git a/contrib/tools/python/src/Include/descrobject.h b/contrib/tools/python/src/Include/descrobject.h index d2c9468dcf..65c909e0b4 100644 --- a/contrib/tools/python/src/Include/descrobject.h +++ b/contrib/tools/python/src/Include/descrobject.h @@ -9,10 +9,10 @@ typedef PyObject *(*getter)(PyObject *, void *); typedef int (*setter)(PyObject *, PyObject *, void *); typedef struct PyGetSetDef { - const char *name; + const char *name; getter get; setter set; - const char *doc; + const char *doc; void *closure; } PyGetSetDef; diff --git a/contrib/tools/python/src/Include/pythonrun.h b/contrib/tools/python/src/Include/pythonrun.h index ba644b375a..7b3c8db08f 100644 --- a/contrib/tools/python/src/Include/pythonrun.h +++ b/contrib/tools/python/src/Include/pythonrun.h @@ -19,7 +19,7 @@ typedef struct { int cf_flags; /* bitmask of CO_xxx flags relevant to future */ } PyCompilerFlags; -PyAPI_FUNC(void) Py_SetProgramName(const char *); +PyAPI_FUNC(void) Py_SetProgramName(const char *); PyAPI_FUNC(char *) Py_GetProgramName(void); PyAPI_FUNC(void) Py_SetPythonHome(char *); diff --git a/contrib/tools/python/src/Include/sysmodule.h b/contrib/tools/python/src/Include/sysmodule.h index cf11a2bc50..7bb92fdf75 100644 --- a/contrib/tools/python/src/Include/sysmodule.h +++ b/contrib/tools/python/src/Include/sysmodule.h @@ -7,8 +7,8 @@ extern "C" { #endif -PyAPI_FUNC(PyObject *) PySys_GetObject(const char *); -PyAPI_FUNC(int) PySys_SetObject(const char *, PyObject *); +PyAPI_FUNC(PyObject *) PySys_GetObject(const char *); +PyAPI_FUNC(int) PySys_SetObject(const char *, PyObject *); PyAPI_FUNC(FILE *) PySys_GetFile(char *, FILE *); PyAPI_FUNC(void) PySys_SetArgv(int, char **); PyAPI_FUNC(void) PySys_SetArgvEx(int, char **, int); |