lsteamclient: Use integer types instead of enums.

CW-Bug-Id: #22729
This commit is contained in:
Rémi Bernon 2023-09-14 16:22:47 +02:00
parent 30548e1df7
commit 07e95d32c1
191 changed files with 1642 additions and 1642 deletions

View file

@ -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}"