mirror of
https://github.com/ValveSoftware/Proton
synced 2025-09-02 15:55:10 +00:00
lsteamclient: Wrap SteamAPIWarningMessageHook_t callback.
CW-Bug-Id: #20813
This commit is contained in:
committed by
Arkadiusz Hiler
parent
242d655a0f
commit
bcd3d5218f
@@ -92,6 +92,7 @@ uint32 cppISteamUtils_SteamUtils005_GetIPCCallCount(void *linux_side)
|
||||
|
||||
void cppISteamUtils_SteamUtils005_SetWarningMessageHook(void *linux_side, SteamAPIWarningMessageHook_t pFunction)
|
||||
{
|
||||
pFunction = (SteamAPIWarningMessageHook_t)manual_convert_SteamAPIWarningMessageHook_t((void*)pFunction);
|
||||
((ISteamUtils*)linux_side)->SetWarningMessageHook((SteamAPIWarningMessageHook_t)pFunction);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user