mirror of
https://github.com/python/cpython.git
synced 2025-12-31 04:23:37 +00:00
gh-108494: Argument Clinic: fix support of Limited C API (GH-108536)
This commit is contained in:
parent
d90973340b
commit
bc5356bb5d
10 changed files with 147 additions and 114 deletions
|
|
@ -220,6 +220,7 @@ class DWORD_converter(unsigned_long_converter):
|
|||
class HKEY_converter(CConverter):
|
||||
type = 'HKEY'
|
||||
converter = 'clinic_HKEY_converter'
|
||||
broken_limited_capi = True
|
||||
|
||||
def parse_arg(self, argname, displayname):
|
||||
return """
|
||||
|
|
@ -249,7 +250,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=17e645060c7b8ae1]*/
|
||||
/*[python end generated code: output=da39a3ee5e6b4b0d input=f8cb7034338aeaba]*/
|
||||
|
||||
#include "clinic/winreg.c.h"
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue