lsteamclient: 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:48:13 +01:00 committed by Arkadiusz Hiler
parent dcc841cab0
commit 5e70a92e17
23 changed files with 134 additions and 167 deletions

View file

@ -101,7 +101,7 @@ NTSTATUS ISteamNetworkingUtils_SteamNetworkingUtils001_SetDebugOutputFunction( v
{
struct ISteamNetworkingUtils_SteamNetworkingUtils001_SetDebugOutputFunction_params *params = (struct ISteamNetworkingUtils_SteamNetworkingUtils001_SetDebugOutputFunction_params *)args;
struct u_ISteamNetworkingUtils_SteamNetworkingUtils001 *iface = (struct u_ISteamNetworkingUtils_SteamNetworkingUtils001 *)params->linux_side;
void (*U_STDCALL u_pfnFunc)(uint32_t, const char *) = manual_convert_SetDebugOutputFunction_pfnFunc( params->pfnFunc );
void (*U_CDECL u_pfnFunc)(uint32_t, const char *) = manual_convert_SetDebugOutputFunction_pfnFunc( params->pfnFunc );
iface->SetDebugOutputFunction( params->eDetailLevel, u_pfnFunc );
return 0;
}