mirror of
https://git.suyu.dev/suyu/Yucom.git
synced 2025-12-24 08:14:34 +01:00
lsteamclient: Use declspec to generate C++ method signature.
CW-Bug-Id: #22729
This commit is contained in:
parent
992384b88f
commit
122e0e362c
192 changed files with 2659 additions and 2666 deletions
|
|
@ -11,27 +11,27 @@ extern "C" {
|
|||
#define SDKVER_102x
|
||||
#include "struct_converters.h"
|
||||
#include "cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION001.h"
|
||||
bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION001_FileWrite(void *linux_side, const char * pchFile, const void * pvData, int32 cubData)
|
||||
bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION001_FileWrite(void *linux_side, const char *pchFile, const void *pvData, int32 cubData)
|
||||
{
|
||||
return ((ISteamRemoteStorage*)linux_side)->FileWrite((const char *)pchFile, (const void *)pvData, (int32)cubData);
|
||||
}
|
||||
|
||||
int32 cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION001_GetFileSize(void *linux_side, const char * pchFile)
|
||||
int32 cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION001_GetFileSize(void *linux_side, const char *pchFile)
|
||||
{
|
||||
return ((ISteamRemoteStorage*)linux_side)->GetFileSize((const char *)pchFile);
|
||||
}
|
||||
|
||||
int32 cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION001_FileRead(void *linux_side, const char * pchFile, void * pvData, int32 cubDataToRead)
|
||||
int32 cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION001_FileRead(void *linux_side, const char *pchFile, void *pvData, int32 cubDataToRead)
|
||||
{
|
||||
return ((ISteamRemoteStorage*)linux_side)->FileRead((const char *)pchFile, (void *)pvData, (int32)cubDataToRead);
|
||||
}
|
||||
|
||||
bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION001_FileExists(void *linux_side, const char * pchFile)
|
||||
bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION001_FileExists(void *linux_side, const char *pchFile)
|
||||
{
|
||||
return ((ISteamRemoteStorage*)linux_side)->FileExists((const char *)pchFile);
|
||||
}
|
||||
|
||||
bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION001_FileDelete(void *linux_side, const char * pchFile)
|
||||
bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION001_FileDelete(void *linux_side, const char *pchFile)
|
||||
{
|
||||
return ((ISteamRemoteStorage*)linux_side)->FileDelete((const char *)pchFile);
|
||||
}
|
||||
|
|
@ -41,12 +41,12 @@ int32 cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION001_GetFileCoun
|
|||
return ((ISteamRemoteStorage*)linux_side)->GetFileCount();
|
||||
}
|
||||
|
||||
const char * cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION001_GetFileNameAndSize(void *linux_side, int iFile, int32 * pnFileSizeInBytes)
|
||||
const char * cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION001_GetFileNameAndSize(void *linux_side, int iFile, int32 *pnFileSizeInBytes)
|
||||
{
|
||||
return ((ISteamRemoteStorage*)linux_side)->GetFileNameAndSize((int)iFile, (int32 *)pnFileSizeInBytes);
|
||||
}
|
||||
|
||||
bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION001_GetQuota(void *linux_side, int32 * pnTotalBytes, int32 * puAvailableBytes)
|
||||
bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION001_GetQuota(void *linux_side, int32 *pnTotalBytes, int32 *puAvailableBytes)
|
||||
{
|
||||
return ((ISteamRemoteStorage*)linux_side)->GetQuota((int32 *)pnTotalBytes, (int32 *)puAvailableBytes);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue