mirror of
https://git.suyu.dev/suyu/Yucom.git
synced 2025-12-23 15:54:07 +01:00
parent
30548e1df7
commit
07e95d32c1
191 changed files with 1642 additions and 1642 deletions
|
|
@ -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}"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue