lsteamclient: Generate function types with ABI attributes.

CW-Bug-Id: #22729
This commit is contained in:
Rémi Bernon 2023-09-19 21:30:14 +02:00 committed by Arkadiusz Hiler
parent cc69121738
commit 5ec5ec2923
61 changed files with 257 additions and 155 deletions

View file

@ -121,7 +121,7 @@ void cppISteamNetworkingUtils_SteamNetworkingUtils004_GetLocalTimestamp( struct
void cppISteamNetworkingUtils_SteamNetworkingUtils004_SetDebugOutputFunction( struct cppISteamNetworkingUtils_SteamNetworkingUtils004_SetDebugOutputFunction_params *params )
{
struct cppISteamNetworkingUtils_SteamNetworkingUtils004 *iface = (struct cppISteamNetworkingUtils_SteamNetworkingUtils004 *)params->linux_side;
void (*lin_pfnFunc)(uint32_t, const char *) = (void (*)(uint32_t, const char *))manual_convert_FSteamNetworkingSocketsDebugOutput( (void *)params->pfnFunc );
void (*U_STDCALL lin_pfnFunc)(uint32_t, const char *) = manual_convert_SetDebugOutputFunction_pfnFunc( params->pfnFunc );
iface->SetDebugOutputFunction( params->eDetailLevel, lin_pfnFunc );
}