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
parent 2a2fb338d2
commit 910f149a04
61 changed files with 257 additions and 155 deletions

View file

@ -117,7 +117,7 @@ void cppISteamNetworkingUtils_SteamNetworkingUtils002_GetLocalTimestamp( struct
void cppISteamNetworkingUtils_SteamNetworkingUtils002_SetDebugOutputFunction( struct cppISteamNetworkingUtils_SteamNetworkingUtils002_SetDebugOutputFunction_params *params )
{
struct cppISteamNetworkingUtils_SteamNetworkingUtils002 *iface = (struct cppISteamNetworkingUtils_SteamNetworkingUtils002 *)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 );
}