Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
cpython
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
cpython
Commits
877826ad
Commit
877826ad
authored
Jun 09, 2016
by
Serhiy Storchaka
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Regenerate Argument Clinic code for issue #23026.
parent
fb51e652
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
3 deletions
+5
-3
PC/clinic/winreg.c.h
PC/clinic/winreg.c.h
+4
-2
PC/winreg.c
PC/winreg.c
+1
-1
No files found.
PC/clinic/winreg.c.h
View file @
877826ad
...
@@ -907,7 +907,7 @@ PyDoc_STRVAR(winreg_SetValueEx__doc__,
...
@@ -907,7 +907,7 @@ PyDoc_STRVAR(winreg_SetValueEx__doc__,
" An integer that specifies the type of the data, one of:
\n
"
" An integer that specifies the type of the data, one of:
\n
"
" REG_BINARY -- Binary data in any form.
\n
"
" REG_BINARY -- Binary data in any form.
\n
"
" REG_DWORD -- A 32-bit number.
\n
"
" REG_DWORD -- A 32-bit number.
\n
"
" REG_DWORD_LITTLE_ENDIAN -- A 32-bit number in little-endian format.
\n
"
" REG_DWORD_LITTLE_ENDIAN -- A 32-bit number in little-endian format.
Equivalent to REG_DWORD
\n
"
" REG_DWORD_BIG_ENDIAN -- A 32-bit number in big-endian format.
\n
"
" REG_DWORD_BIG_ENDIAN -- A 32-bit number in big-endian format.
\n
"
" REG_EXPAND_SZ -- A null-terminated string that contains unexpanded
\n
"
" REG_EXPAND_SZ -- A null-terminated string that contains unexpanded
\n
"
" references to environment variables (for example,
\n
"
" references to environment variables (for example,
\n
"
...
@@ -917,6 +917,8 @@ PyDoc_STRVAR(winreg_SetValueEx__doc__,
...
@@ -917,6 +917,8 @@ PyDoc_STRVAR(winreg_SetValueEx__doc__,
" by two null characters. Note that Python handles
\n
"
" by two null characters. Note that Python handles
\n
"
" this termination automatically.
\n
"
" this termination automatically.
\n
"
" REG_NONE -- No defined value type.
\n
"
" REG_NONE -- No defined value type.
\n
"
" REG_QWORD -- A 64-bit number.
\n
"
" REG_QWORD_LITTLE_ENDIAN -- A 64-bit number in little-endian format. Equivalent to REG_QWORD.
\n
"
" REG_RESOURCE_LIST -- A device-driver resource list.
\n
"
" REG_RESOURCE_LIST -- A device-driver resource list.
\n
"
" REG_SZ -- A null-terminated string.
\n
"
" REG_SZ -- A null-terminated string.
\n
"
" value
\n
"
" value
\n
"
...
@@ -1056,4 +1058,4 @@ winreg_QueryReflectionKey(PyModuleDef *module, PyObject *arg)
...
@@ -1056,4 +1058,4 @@ winreg_QueryReflectionKey(PyModuleDef *module, PyObject *arg)
exit:
exit:
return
return_value
;
return
return_value
;
}
}
/*[clinic end generated code: output=
5e346dccc296f9f1
input=a9049054013a1b77]*/
/*[clinic end generated code: output=
0b71782e9b37b12a
input=a9049054013a1b77]*/
PC/winreg.c
View file @
877826ad
...
@@ -1657,7 +1657,7 @@ the configuration registry to help the registry perform efficiently.
...
@@ -1657,7 +1657,7 @@ the configuration registry to help the registry perform efficiently.
static
PyObject
*
static
PyObject
*
winreg_SetValueEx_impl
(
PyModuleDef
*
module
,
HKEY
key
,
Py_UNICODE
*
value_name
,
winreg_SetValueEx_impl
(
PyModuleDef
*
module
,
HKEY
key
,
Py_UNICODE
*
value_name
,
PyObject
*
reserved
,
DWORD
type
,
PyObject
*
value
)
PyObject
*
reserved
,
DWORD
type
,
PyObject
*
value
)
/*[clinic end generated code: output=ea092a935c361582 input=
f1b16cbcc3ed4101
]*/
/*[clinic end generated code: output=ea092a935c361582 input=
900a9e3990bfb196
]*/
{
{
BYTE
*
data
;
BYTE
*
data
;
DWORD
len
;
DWORD
len
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment