mirror of
https://github.com/ValveSoftware/Proton
synced 2025-08-31 14:45:23 +00:00
@@ -576,7 +576,7 @@ def declspec(decl, name):
|
||||
if decl.kind in (TypeKind.UNEXPOSED, TypeKind.FUNCTIONPROTO):
|
||||
return f'void{name}'
|
||||
if decl.kind == TypeKind.ENUM:
|
||||
return f'{decl.spelling.split("::")[-1]}{name}'
|
||||
return f'uint{decl.get_size() * 8}_t{name}'
|
||||
|
||||
if param_needs_conversion(decl):
|
||||
return f"win{decl.spelling}_{sdkver}{name}"
|
||||
|
Reference in New Issue
Block a user