lsteamclient: Use declspec to generate C++ method signature.

CW-Bug-Id: #22729
This commit is contained in:
Rémi Bernon 2023-09-23 16:11:42 +02:00 committed by Arkadiusz Hiler
parent 992384b88f
commit 122e0e362c
192 changed files with 2659 additions and 2666 deletions

View file

@ -36,17 +36,17 @@ const char * cppISteamUtils_SteamUtils007_GetIPCountry(void *linux_side)
return ((ISteamUtils*)linux_side)->GetIPCountry();
}
bool cppISteamUtils_SteamUtils007_GetImageSize(void *linux_side, int iImage, uint32 * pnWidth, uint32 * pnHeight)
bool cppISteamUtils_SteamUtils007_GetImageSize(void *linux_side, int iImage, uint32 *pnWidth, uint32 *pnHeight)
{
return ((ISteamUtils*)linux_side)->GetImageSize((int)iImage, (uint32 *)pnWidth, (uint32 *)pnHeight);
}
bool cppISteamUtils_SteamUtils007_GetImageRGBA(void *linux_side, int iImage, uint8 * pubDest, int nDestBufferSize)
bool cppISteamUtils_SteamUtils007_GetImageRGBA(void *linux_side, int iImage, uint8 *pubDest, int nDestBufferSize)
{
return ((ISteamUtils*)linux_side)->GetImageRGBA((int)iImage, (uint8 *)pubDest, (int)nDestBufferSize);
}
bool cppISteamUtils_SteamUtils007_GetCSERIPPort(void *linux_side, uint32 * unIP, uint16 * usPort)
bool cppISteamUtils_SteamUtils007_GetCSERIPPort(void *linux_side, uint32 *unIP, uint16 *usPort)
{
return ((ISteamUtils*)linux_side)->GetCSERIPPort((uint32 *)unIP, (uint16 *)usPort);
}
@ -66,7 +66,7 @@ void cppISteamUtils_SteamUtils007_SetOverlayNotificationPosition(void *linux_sid
((ISteamUtils*)linux_side)->SetOverlayNotificationPosition((ENotificationPosition)eNotificationPosition);
}
bool cppISteamUtils_SteamUtils007_IsAPICallCompleted(void *linux_side, SteamAPICall_t hSteamAPICall, bool * pbFailed)
bool cppISteamUtils_SteamUtils007_IsAPICallCompleted(void *linux_side, SteamAPICall_t hSteamAPICall, bool *pbFailed)
{
return ((ISteamUtils*)linux_side)->IsAPICallCompleted((SteamAPICall_t)hSteamAPICall, (bool *)pbFailed);
}
@ -76,7 +76,7 @@ ESteamAPICallFailure cppISteamUtils_SteamUtils007_GetAPICallFailureReason(void *
return ((ISteamUtils*)linux_side)->GetAPICallFailureReason((SteamAPICall_t)hSteamAPICall);
}
bool cppISteamUtils_SteamUtils007_GetAPICallResult(void *linux_side, SteamAPICall_t hSteamAPICall, void * pCallback, int cubCallback, int iCallbackExpected, bool * pbFailed)
bool cppISteamUtils_SteamUtils007_GetAPICallResult(void *linux_side, SteamAPICall_t hSteamAPICall, void *pCallback, int cubCallback, int iCallbackExpected, bool *pbFailed)
{
return ((ISteamUtils*)linux_side)->GetAPICallResult((SteamAPICall_t)hSteamAPICall, (void *)pCallback, (int)cubCallback, (int)iCallbackExpected, (bool *)pbFailed);
}
@ -107,12 +107,12 @@ bool cppISteamUtils_SteamUtils007_BOverlayNeedsPresent(void *linux_side)
return ((ISteamUtils*)linux_side)->BOverlayNeedsPresent();
}
SteamAPICall_t cppISteamUtils_SteamUtils007_CheckFileSignature(void *linux_side, const char * szFileName)
SteamAPICall_t cppISteamUtils_SteamUtils007_CheckFileSignature(void *linux_side, const char *szFileName)
{
return ((ISteamUtils*)linux_side)->CheckFileSignature((const char *)szFileName);
}
bool cppISteamUtils_SteamUtils007_ShowGamepadTextInput(void *linux_side, EGamepadTextInputMode eInputMode, EGamepadTextInputLineMode eLineInputMode, const char * pchDescription, uint32 unCharMax, const char * pchExistingText)
bool cppISteamUtils_SteamUtils007_ShowGamepadTextInput(void *linux_side, EGamepadTextInputMode eInputMode, EGamepadTextInputLineMode eLineInputMode, const char *pchDescription, uint32 unCharMax, const char *pchExistingText)
{
return ((ISteamUtils*)linux_side)->ShowGamepadTextInput((EGamepadTextInputMode)eInputMode, (EGamepadTextInputLineMode)eLineInputMode, (const char *)pchDescription, (uint32)unCharMax, (const char *)pchExistingText);
}
@ -122,7 +122,7 @@ uint32 cppISteamUtils_SteamUtils007_GetEnteredGamepadTextLength(void *linux_side
return ((ISteamUtils*)linux_side)->GetEnteredGamepadTextLength();
}
bool cppISteamUtils_SteamUtils007_GetEnteredGamepadTextInput(void *linux_side, char * pchText, uint32 cchText)
bool cppISteamUtils_SteamUtils007_GetEnteredGamepadTextInput(void *linux_side, char *pchText, uint32 cchText)
{
return ((ISteamUtils*)linux_side)->GetEnteredGamepadTextInput((char *)pchText, (uint32)cchText);
}