diff --git a/vrclient_x64/gen_wrapper.py b/vrclient_x64/gen_wrapper.py index aa74d5c9..7971caec 100755 --- a/vrclient_x64/gen_wrapper.py +++ b/vrclient_x64/gen_wrapper.py @@ -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()} '