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

@ -135,7 +135,7 @@ void cppISteamUtils_SteamUtils004_GetIPCCallCount( struct cppISteamUtils_SteamUt
void cppISteamUtils_SteamUtils004_SetWarningMessageHook( struct cppISteamUtils_SteamUtils004_SetWarningMessageHook_params *params )
{
struct cppISteamUtils_SteamUtils004 *iface = (struct cppISteamUtils_SteamUtils004 *)params->linux_side;
void (*lin_pFunction)(int32_t, const char *) = (void (*)(int32_t, const char *))manual_convert_SteamAPIWarningMessageHook_t( (void *)params->pFunction );
void (*U_CDECL lin_pFunction)(int32_t, const char *) = manual_convert_SetWarningMessageHook_pFunction( params->pFunction );
iface->SetWarningMessageHook( lin_pFunction );
}