summaryrefslogtreecommitdiffstats
path: root/PC/clinic/winreg.c.h
diff options
context:
space:
mode:
Diffstat (limited to 'PC/clinic/winreg.c.h')
-rw-r--r--PC/clinic/winreg.c.h105
1 files changed, 43 insertions, 62 deletions
diff --git a/PC/clinic/winreg.c.h b/PC/clinic/winreg.c.h
index 6aff424b8..22b332f 100644
--- a/PC/clinic/winreg.c.h
+++ b/PC/clinic/winreg.c.h
@@ -80,7 +80,8 @@ PyDoc_STRVAR(winreg_HKEYType___exit____doc__,
{"__exit__", (PyCFunction)winreg_HKEYType___exit__, METH_VARARGS|METH_KEYWORDS, winreg_HKEYType___exit____doc__},
static PyObject *
-winreg_HKEYType___exit___impl(PyHKEYObject *self, PyObject *exc_type, PyObject *exc_value, PyObject *traceback);
+winreg_HKEYType___exit___impl(PyHKEYObject *self, PyObject *exc_type,
+ PyObject *exc_value, PyObject *traceback);
static PyObject *
winreg_HKEYType___exit__(PyHKEYObject *self, PyObject *args, PyObject *kwargs)
@@ -91,8 +92,7 @@ winreg_HKEYType___exit__(PyHKEYObject *self, PyObject *args, PyObject *kwargs)
PyObject *exc_value;
PyObject *traceback;
- if (!PyArg_ParseTupleAndKeywords(args, kwargs,
- "OOO:__exit__", _keywords,
+ if (!PyArg_ParseTupleAndKeywords(args, kwargs, "OOO:__exit__", _keywords,
&exc_type, &exc_value, &traceback))
goto exit;
return_value = winreg_HKEYType___exit___impl(self, exc_type, exc_value, traceback);
@@ -135,7 +135,8 @@ PyDoc_STRVAR(winreg_ConnectRegistry__doc__,
{"ConnectRegistry", (PyCFunction)winreg_ConnectRegistry, METH_VARARGS, winreg_ConnectRegistry__doc__},
static HKEY
-winreg_ConnectRegistry_impl(PyModuleDef *module, Py_UNICODE *computer_name, HKEY key);
+winreg_ConnectRegistry_impl(PyModuleDef *module, Py_UNICODE *computer_name,
+ HKEY key);
static PyObject *
winreg_ConnectRegistry(PyModuleDef *module, PyObject *args)
@@ -145,8 +146,7 @@ winreg_ConnectRegistry(PyModuleDef *module, PyObject *args)
HKEY key;
HKEY _return_value;
- if (!PyArg_ParseTuple(args,
- "ZO&:ConnectRegistry",
+ if (!PyArg_ParseTuple(args, "ZO&:ConnectRegistry",
&computer_name, clinic_HKEY_converter, &key))
goto exit;
_return_value = winreg_ConnectRegistry_impl(module, computer_name, key);
@@ -191,8 +191,7 @@ winreg_CreateKey(PyModuleDef *module, PyObject *args)
Py_UNICODE *sub_key;
HKEY _return_value;
- if (!PyArg_ParseTuple(args,
- "O&Z:CreateKey",
+ if (!PyArg_ParseTuple(args, "O&Z:CreateKey",
clinic_HKEY_converter, &key, &sub_key))
goto exit;
_return_value = winreg_CreateKey_impl(module, key, sub_key);
@@ -233,7 +232,8 @@ PyDoc_STRVAR(winreg_CreateKeyEx__doc__,
{"CreateKeyEx", (PyCFunction)winreg_CreateKeyEx, METH_VARARGS|METH_KEYWORDS, winreg_CreateKeyEx__doc__},
static HKEY
-winreg_CreateKeyEx_impl(PyModuleDef *module, HKEY key, Py_UNICODE *sub_key, int reserved, REGSAM access);
+winreg_CreateKeyEx_impl(PyModuleDef *module, HKEY key, Py_UNICODE *sub_key,
+ int reserved, REGSAM access);
static PyObject *
winreg_CreateKeyEx(PyModuleDef *module, PyObject *args, PyObject *kwargs)
@@ -246,8 +246,7 @@ winreg_CreateKeyEx(PyModuleDef *module, PyObject *args, PyObject *kwargs)
REGSAM access = KEY_WRITE;
HKEY _return_value;
- if (!PyArg_ParseTupleAndKeywords(args, kwargs,
- "O&Z|ii:CreateKeyEx", _keywords,
+ if (!PyArg_ParseTupleAndKeywords(args, kwargs, "O&Z|ii:CreateKeyEx", _keywords,
clinic_HKEY_converter, &key, &sub_key, &reserved, &access))
goto exit;
_return_value = winreg_CreateKeyEx_impl(module, key, sub_key, reserved, access);
@@ -290,8 +289,7 @@ winreg_DeleteKey(PyModuleDef *module, PyObject *args)
HKEY key;
Py_UNICODE *sub_key;
- if (!PyArg_ParseTuple(args,
- "O&u:DeleteKey",
+ if (!PyArg_ParseTuple(args, "O&u:DeleteKey",
clinic_HKEY_converter, &key, &sub_key))
goto exit;
return_value = winreg_DeleteKey_impl(module, key, sub_key);
@@ -329,7 +327,8 @@ PyDoc_STRVAR(winreg_DeleteKeyEx__doc__,
{"DeleteKeyEx", (PyCFunction)winreg_DeleteKeyEx, METH_VARARGS|METH_KEYWORDS, winreg_DeleteKeyEx__doc__},
static PyObject *
-winreg_DeleteKeyEx_impl(PyModuleDef *module, HKEY key, Py_UNICODE *sub_key, REGSAM access, int reserved);
+winreg_DeleteKeyEx_impl(PyModuleDef *module, HKEY key, Py_UNICODE *sub_key,
+ REGSAM access, int reserved);
static PyObject *
winreg_DeleteKeyEx(PyModuleDef *module, PyObject *args, PyObject *kwargs)
@@ -341,8 +340,7 @@ winreg_DeleteKeyEx(PyModuleDef *module, PyObject *args, PyObject *kwargs)
REGSAM access = KEY_WOW64_64KEY;
int reserved = 0;
- if (!PyArg_ParseTupleAndKeywords(args, kwargs,
- "O&u|ii:DeleteKeyEx", _keywords,
+ if (!PyArg_ParseTupleAndKeywords(args, kwargs, "O&u|ii:DeleteKeyEx", _keywords,
clinic_HKEY_converter, &key, &sub_key, &access, &reserved))
goto exit;
return_value = winreg_DeleteKeyEx_impl(module, key, sub_key, access, reserved);
@@ -375,8 +373,7 @@ winreg_DeleteValue(PyModuleDef *module, PyObject *args)
HKEY key;
Py_UNICODE *value;
- if (!PyArg_ParseTuple(args,
- "O&Z:DeleteValue",
+ if (!PyArg_ParseTuple(args, "O&Z:DeleteValue",
clinic_HKEY_converter, &key, &value))
goto exit;
return_value = winreg_DeleteValue_impl(module, key, value);
@@ -413,8 +410,7 @@ winreg_EnumKey(PyModuleDef *module, PyObject *args)
HKEY key;
int index;
- if (!PyArg_ParseTuple(args,
- "O&i:EnumKey",
+ if (!PyArg_ParseTuple(args, "O&i:EnumKey",
clinic_HKEY_converter, &key, &index))
goto exit;
return_value = winreg_EnumKey_impl(module, key, index);
@@ -460,8 +456,7 @@ winreg_EnumValue(PyModuleDef *module, PyObject *args)
HKEY key;
int index;
- if (!PyArg_ParseTuple(args,
- "O&i:EnumValue",
+ if (!PyArg_ParseTuple(args, "O&i:EnumValue",
clinic_HKEY_converter, &key, &index))
goto exit;
return_value = winreg_EnumValue_impl(module, key, index);
@@ -488,9 +483,7 @@ winreg_ExpandEnvironmentStrings(PyModuleDef *module, PyObject *arg)
PyObject *return_value = NULL;
Py_UNICODE *string;
- if (!PyArg_Parse(arg,
- "u:ExpandEnvironmentStrings",
- &string))
+ if (!PyArg_Parse(arg, "u:ExpandEnvironmentStrings", &string))
goto exit;
return_value = winreg_ExpandEnvironmentStrings_impl(module, string);
@@ -529,9 +522,7 @@ winreg_FlushKey(PyModuleDef *module, PyObject *arg)
PyObject *return_value = NULL;
HKEY key;
- if (!PyArg_Parse(arg,
- "O&:FlushKey",
- clinic_HKEY_converter, &key))
+ if (!PyArg_Parse(arg, "O&:FlushKey", clinic_HKEY_converter, &key))
goto exit;
return_value = winreg_FlushKey_impl(module, key);
@@ -571,7 +562,8 @@ PyDoc_STRVAR(winreg_LoadKey__doc__,
{"LoadKey", (PyCFunction)winreg_LoadKey, METH_VARARGS, winreg_LoadKey__doc__},
static PyObject *
-winreg_LoadKey_impl(PyModuleDef *module, HKEY key, Py_UNICODE *sub_key, Py_UNICODE *file_name);
+winreg_LoadKey_impl(PyModuleDef *module, HKEY key, Py_UNICODE *sub_key,
+ Py_UNICODE *file_name);
static PyObject *
winreg_LoadKey(PyModuleDef *module, PyObject *args)
@@ -581,8 +573,7 @@ winreg_LoadKey(PyModuleDef *module, PyObject *args)
Py_UNICODE *sub_key;
Py_UNICODE *file_name;
- if (!PyArg_ParseTuple(args,
- "O&uu:LoadKey",
+ if (!PyArg_ParseTuple(args, "O&uu:LoadKey",
clinic_HKEY_converter, &key, &sub_key, &file_name))
goto exit;
return_value = winreg_LoadKey_impl(module, key, sub_key, file_name);
@@ -614,7 +605,8 @@ PyDoc_STRVAR(winreg_OpenKey__doc__,
{"OpenKey", (PyCFunction)winreg_OpenKey, METH_VARARGS|METH_KEYWORDS, winreg_OpenKey__doc__},
static HKEY
-winreg_OpenKey_impl(PyModuleDef *module, HKEY key, Py_UNICODE *sub_key, int reserved, REGSAM access);
+winreg_OpenKey_impl(PyModuleDef *module, HKEY key, Py_UNICODE *sub_key,
+ int reserved, REGSAM access);
static PyObject *
winreg_OpenKey(PyModuleDef *module, PyObject *args, PyObject *kwargs)
@@ -627,8 +619,7 @@ winreg_OpenKey(PyModuleDef *module, PyObject *args, PyObject *kwargs)
REGSAM access = KEY_READ;
HKEY _return_value;
- if (!PyArg_ParseTupleAndKeywords(args, kwargs,
- "O&Z|ii:OpenKey", _keywords,
+ if (!PyArg_ParseTupleAndKeywords(args, kwargs, "O&Z|ii:OpenKey", _keywords,
clinic_HKEY_converter, &key, &sub_key, &reserved, &access))
goto exit;
_return_value = winreg_OpenKey_impl(module, key, sub_key, reserved, access);
@@ -663,7 +654,8 @@ PyDoc_STRVAR(winreg_OpenKeyEx__doc__,
{"OpenKeyEx", (PyCFunction)winreg_OpenKeyEx, METH_VARARGS|METH_KEYWORDS, winreg_OpenKeyEx__doc__},
static HKEY
-winreg_OpenKeyEx_impl(PyModuleDef *module, HKEY key, Py_UNICODE *sub_key, int reserved, REGSAM access);
+winreg_OpenKeyEx_impl(PyModuleDef *module, HKEY key, Py_UNICODE *sub_key,
+ int reserved, REGSAM access);
static PyObject *
winreg_OpenKeyEx(PyModuleDef *module, PyObject *args, PyObject *kwargs)
@@ -676,8 +668,7 @@ winreg_OpenKeyEx(PyModuleDef *module, PyObject *args, PyObject *kwargs)
REGSAM access = KEY_READ;
HKEY _return_value;
- if (!PyArg_ParseTupleAndKeywords(args, kwargs,
- "O&Z|ii:OpenKeyEx", _keywords,
+ if (!PyArg_ParseTupleAndKeywords(args, kwargs, "O&Z|ii:OpenKeyEx", _keywords,
clinic_HKEY_converter, &key, &sub_key, &reserved, &access))
goto exit;
_return_value = winreg_OpenKeyEx_impl(module, key, sub_key, reserved, access);
@@ -716,9 +707,7 @@ winreg_QueryInfoKey(PyModuleDef *module, PyObject *arg)
PyObject *return_value = NULL;
HKEY key;
- if (!PyArg_Parse(arg,
- "O&:QueryInfoKey",
- clinic_HKEY_converter, &key))
+ if (!PyArg_Parse(arg, "O&:QueryInfoKey", clinic_HKEY_converter, &key))
goto exit;
return_value = winreg_QueryInfoKey_impl(module, key);
@@ -759,8 +748,7 @@ winreg_QueryValue(PyModuleDef *module, PyObject *args)
HKEY key;
Py_UNICODE *sub_key;
- if (!PyArg_ParseTuple(args,
- "O&Z:QueryValue",
+ if (!PyArg_ParseTuple(args, "O&Z:QueryValue",
clinic_HKEY_converter, &key, &sub_key))
goto exit;
return_value = winreg_QueryValue_impl(module, key, sub_key);
@@ -798,8 +786,7 @@ winreg_QueryValueEx(PyModuleDef *module, PyObject *args)
HKEY key;
Py_UNICODE *name;
- if (!PyArg_ParseTuple(args,
- "O&Z:QueryValueEx",
+ if (!PyArg_ParseTuple(args, "O&Z:QueryValueEx",
clinic_HKEY_converter, &key, &name))
goto exit;
return_value = winreg_QueryValueEx_impl(module, key, name);
@@ -842,8 +829,7 @@ winreg_SaveKey(PyModuleDef *module, PyObject *args)
HKEY key;
Py_UNICODE *file_name;
- if (!PyArg_ParseTuple(args,
- "O&u:SaveKey",
+ if (!PyArg_ParseTuple(args, "O&u:SaveKey",
clinic_HKEY_converter, &key, &file_name))
goto exit;
return_value = winreg_SaveKey_impl(module, key, file_name);
@@ -882,7 +868,9 @@ PyDoc_STRVAR(winreg_SetValue__doc__,
{"SetValue", (PyCFunction)winreg_SetValue, METH_VARARGS, winreg_SetValue__doc__},
static PyObject *
-winreg_SetValue_impl(PyModuleDef *module, HKEY key, Py_UNICODE *sub_key, DWORD type, Py_UNICODE *value, Py_ssize_clean_t value_length);
+winreg_SetValue_impl(PyModuleDef *module, HKEY key, Py_UNICODE *sub_key,
+ DWORD type, Py_UNICODE *value,
+ Py_ssize_clean_t value_length);
static PyObject *
winreg_SetValue(PyModuleDef *module, PyObject *args)
@@ -894,8 +882,7 @@ winreg_SetValue(PyModuleDef *module, PyObject *args)
Py_UNICODE *value;
Py_ssize_clean_t value_length;
- if (!PyArg_ParseTuple(args,
- "O&Zku#:SetValue",
+ if (!PyArg_ParseTuple(args, "O&Zku#:SetValue",
clinic_HKEY_converter, &key, &sub_key, &type, &value, &value_length))
goto exit;
return_value = winreg_SetValue_impl(module, key, sub_key, type, value, value_length);
@@ -949,7 +936,8 @@ PyDoc_STRVAR(winreg_SetValueEx__doc__,
{"SetValueEx", (PyCFunction)winreg_SetValueEx, METH_VARARGS, winreg_SetValueEx__doc__},
static PyObject *
-winreg_SetValueEx_impl(PyModuleDef *module, HKEY key, Py_UNICODE *value_name, PyObject *reserved, DWORD type, PyObject *value);
+winreg_SetValueEx_impl(PyModuleDef *module, HKEY key, Py_UNICODE *value_name,
+ PyObject *reserved, DWORD type, PyObject *value);
static PyObject *
winreg_SetValueEx(PyModuleDef *module, PyObject *args)
@@ -961,8 +949,7 @@ winreg_SetValueEx(PyModuleDef *module, PyObject *args)
DWORD type;
PyObject *value;
- if (!PyArg_ParseTuple(args,
- "O&ZOkO:SetValueEx",
+ if (!PyArg_ParseTuple(args, "O&ZOkO:SetValueEx",
clinic_HKEY_converter, &key, &value_name, &reserved, &type, &value))
goto exit;
return_value = winreg_SetValueEx_impl(module, key, value_name, reserved, type, value);
@@ -998,9 +985,7 @@ winreg_DisableReflectionKey(PyModuleDef *module, PyObject *arg)
PyObject *return_value = NULL;
HKEY key;
- if (!PyArg_Parse(arg,
- "O&:DisableReflectionKey",
- clinic_HKEY_converter, &key))
+ if (!PyArg_Parse(arg, "O&:DisableReflectionKey", clinic_HKEY_converter, &key))
goto exit;
return_value = winreg_DisableReflectionKey_impl(module, key);
@@ -1033,9 +1018,7 @@ winreg_EnableReflectionKey(PyModuleDef *module, PyObject *arg)
PyObject *return_value = NULL;
HKEY key;
- if (!PyArg_Parse(arg,
- "O&:EnableReflectionKey",
- clinic_HKEY_converter, &key))
+ if (!PyArg_Parse(arg, "O&:EnableReflectionKey", clinic_HKEY_converter, &key))
goto exit;
return_value = winreg_EnableReflectionKey_impl(module, key);
@@ -1066,13 +1049,11 @@ winreg_QueryReflectionKey(PyModuleDef *module, PyObject *arg)
PyObject *return_value = NULL;
HKEY key;
- if (!PyArg_Parse(arg,
- "O&:QueryReflectionKey",
- clinic_HKEY_converter, &key))
+ if (!PyArg_Parse(arg, "O&:QueryReflectionKey", clinic_HKEY_converter, &key))
goto exit;
return_value = winreg_QueryReflectionKey_impl(module, key);
exit:
return return_value;
}
-/*[clinic end generated code: output=be6e50b901570878 input=a9049054013a1b77]*/
+/*[clinic end generated code: output=71f5bc30b646807b input=a9049054013a1b77]*/