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,9 +5,11 @@
#include "steamworks_sdk_122/isteamgameserverstats.h"
#include "steamworks_sdk_122/isteamgamecoordinator.h"
extern "C" {
#pragma pack( push, 8 )
struct winRemoteStorageSubscribePublishedFileResult_t_4 {
EResult m_eResult;
} __attribute__ ((ms_struct));
#pragma pack( pop )
void cb_RemoteStorageSubscribePublishedFileResult_t_4(void *l, void *w)
{
RemoteStorageSubscribePublishedFileResult_t *lin = (RemoteStorageSubscribePublishedFileResult_t *)l;
@ -15,9 +17,11 @@ void cb_RemoteStorageSubscribePublishedFileResult_t_4(void *l, void *w)
win->m_eResult = lin->m_eResult;
}
#pragma pack( push, 8 )
struct winRemoteStorageUnsubscribePublishedFileResult_t_4 {
EResult m_eResult;
} __attribute__ ((ms_struct));
#pragma pack( pop )
void cb_RemoteStorageUnsubscribePublishedFileResult_t_4(void *l, void *w)
{
RemoteStorageUnsubscribePublishedFileResult_t *lin = (RemoteStorageUnsubscribePublishedFileResult_t *)l;