Skip to content

Commit

Permalink
pythongh-94512: Fix forced arg format in AC-processed winreg (pythonG…
Browse files Browse the repository at this point in the history
  • Loading branch information
arhadthedev authored Jul 4, 2022
1 parent 21f6b4d commit 9b50f76
Show file tree
Hide file tree
Showing 2 changed files with 201 additions and 22 deletions.
215 changes: 198 additions & 17 deletions PC/clinic/winreg.c.h

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 3 additions & 5 deletions PC/winreg.c
Original file line number Diff line number Diff line change
Expand Up @@ -217,13 +217,11 @@ class winreg.HKEYType "PyHKEYObject *" "&PyHKEY_Type"
/*[clinic end generated code: output=da39a3ee5e6b4b0d input=4c964eba3bf914d6]*/

/*[python input]
class REGSAM_converter(CConverter):
class REGSAM_converter(int_converter):
type = 'REGSAM'
format_unit = 'i'
class DWORD_converter(CConverter):
class DWORD_converter(unsigned_long_converter):
type = 'DWORD'
format_unit = 'k'
class HKEY_converter(CConverter):
type = 'HKEY'
Expand All @@ -249,7 +247,7 @@ class self_return_converter(CReturnConverter):
data.return_conversion.append(
'return_value = (PyObject *)_return_value;\n')
[python start generated code]*/
/*[python end generated code: output=da39a3ee5e6b4b0d input=22f7aedc6d68e80e]*/
/*[python end generated code: output=da39a3ee5e6b4b0d input=2ebb7a4922d408d6]*/

#include "clinic/winreg.c.h"

Expand Down

0 comments on commit 9b50f76

Please sign in to comment.