lsteamclient: Fix packing for windows structs

This commit is contained in:
Andrew Eikum
2018-10-29 08:54:08 -05:00
parent bbf914c044
commit 02d52eea92
21 changed files with 1105 additions and 1 deletions

View File

@ -5,10 +5,12 @@
#include "steamworks_sdk_116/isteamgameserverstats.h"
#include "steamworks_sdk_116/isteamgamecoordinator.h"
extern "C" {
#pragma pack( push, 8 )
struct winNameHistoryResponse_t_8 {
int m_cSuccessfulLookups;
int m_cFailedLookups;
} __attribute__ ((ms_struct));
#pragma pack( pop )
void cb_NameHistoryResponse_t_8(void *l, void *w)
{
NameHistoryResponse_t *lin = (NameHistoryResponse_t *)l;
@ -17,6 +19,7 @@ void cb_NameHistoryResponse_t_8(void *l, void *w)
win->m_cFailedLookups = lin->m_cFailedLookups;
}
#pragma pack( push, 8 )
struct winRemoteStorageDownloadUGCResult_t_32 {
EResult m_eResult;
UGCHandle_t m_hFile;
@ -25,6 +28,7 @@ struct winRemoteStorageDownloadUGCResult_t_32 {
char * m_pchFileName;
uint64 m_ulSteamIDOwner;
} __attribute__ ((ms_struct));
#pragma pack( pop )
void cb_RemoteStorageDownloadUGCResult_t_32(void *l, void *w)
{
RemoteStorageDownloadUGCResult_t *lin = (RemoteStorageDownloadUGCResult_t *)l;