mirror of
https://github.com/ValveSoftware/Proton.git
synced 2025-06-12 21:27:47 +02:00
lsteamclient: Fix packing for windows structs
This commit is contained in:
@ -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;
|
||||
|
Reference in New Issue
Block a user