mirror of
https://git.suyu.dev/suyu/Yucom.git
synced 2025-12-22 05:36:09 +01:00
lsteamclient: Default calling convention is cdecl.
CW-Bug-Id: #22729 CW-Bug-Id: #23085
This commit is contained in:
parent
dcc841cab0
commit
5e70a92e17
23 changed files with 134 additions and 167 deletions
|
|
@ -838,7 +838,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…
Add table
Add a link
Reference in a new issue