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