vrclient: Default calling convention is cdecl.

CW-Bug-Id: #22729
CW-Bug-Id: #23085
This commit is contained in:
Rémi Bernon 2023-12-04 22:43:46 +01:00
parent de3008867d
commit 2d838a6ba9

View File

@ -628,7 +628,7 @@ def callconv(cursor, prefix):
tokens = cursor.get_tokens()
while next(tokens).spelling != '(': pass
token = next(tokens).spelling.strip('_')
token = token.replace('*', 'stdcall')
token = token.replace('*', 'cdecl')
token = token.replace('S_CALLTYPE', 'cdecl')
return f'{prefix[0].upper()}_{token.upper()} '