lsteamclient: Always use a return result variable.

CW-Bug-Id: #22729
This commit is contained in:
Rémi Bernon 2023-09-23 21:44:20 +02:00
parent d0230e1d4e
commit 9f71e16ff9
233 changed files with 29134 additions and 10252 deletions

View file

@ -13,7 +13,9 @@ extern "C" {
#include "cppISteamApps_STEAMAPPS_INTERFACE_VERSION001.h"
int cppISteamApps_STEAMAPPS_INTERFACE_VERSION001_GetAppData(void *linux_side, AppId_t nAppID, const char *pchKey, char *pchValue, int cchValueMax)
{
return ((ISteamApps*)linux_side)->GetAppData((AppId_t)nAppID, (const char *)pchKey, (char *)pchValue, (int)cchValueMax);
int _ret;
_ret = ((ISteamApps*)linux_side)->GetAppData((AppId_t)nAppID, (const char *)pchKey, (char *)pchValue, (int)cchValueMax);
return (_ret);
}
#ifdef __cplusplus