vrclient: Default calling convention is cdecl.
CW-Bug-Id: #22729 CW-Bug-Id: #23085
This commit is contained in:
parent
ae89737911
commit
dcc841cab0
1 changed files with 1 additions and 1 deletions
|
@ -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()} '
|
||||
|
||||
|
|
Loading…
Reference in a new issue