lsteamclient: Make Windows-side struct definitions available to C files

This commit is contained in:
Andrew Eikum 2019-02-26 09:05:29 -06:00
parent 2054bb97a9
commit 4880c3b3ab
465 changed files with 3125 additions and 3734 deletions

View file

@ -1,11 +1,12 @@
#include "steam_defs.h"
#include "steamworks_sdk_100/steam_api.h"
#include "steamclient_private.h"
#include "cppISteamApps_STEAMAPPS_INTERFACE_VERSION001.h"
#ifdef __cplusplus
extern "C" {
#endif
#include "struct_converters_100.h"
#define SDKVER_100
#include "struct_converters.h"
#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);