mirror of
https://github.com/ValveSoftware/Proton.git
synced 2025-06-12 05:07:43 +02:00
lsteamclient: build fixes
This commit is contained in:
@ -13,7 +13,7 @@ struct winCallbackMsg_t_116 {
|
||||
int m_cubParam;
|
||||
} __attribute__ ((ms_struct));
|
||||
#pragma pack( pop )
|
||||
void win_to_lin_struct_CallbackMsg_t_116(void *w, void *l)
|
||||
void win_to_lin_struct_CallbackMsg_t_116(const void *w, void *l)
|
||||
{
|
||||
CallbackMsg_t *lin = (CallbackMsg_t *)l;
|
||||
struct winCallbackMsg_t_116 *win = (struct winCallbackMsg_t_116 *)w;
|
||||
@ -23,7 +23,7 @@ void win_to_lin_struct_CallbackMsg_t_116(void *w, void *l)
|
||||
lin->m_cubParam = win->m_cubParam;
|
||||
}
|
||||
|
||||
void lin_to_win_struct_CallbackMsg_t_116(void *l, void *w)
|
||||
void lin_to_win_struct_CallbackMsg_t_116(const void *l, void *w)
|
||||
{
|
||||
CallbackMsg_t *lin = (CallbackMsg_t *)l;
|
||||
struct winCallbackMsg_t_116 *win = (struct winCallbackMsg_t_116 *)w;
|
||||
@ -42,7 +42,7 @@ struct winFriendGameInfo_t_116 {
|
||||
CSteamID m_steamIDLobby;
|
||||
} __attribute__ ((ms_struct));
|
||||
#pragma pack( pop )
|
||||
void win_to_lin_struct_FriendGameInfo_t_116(void *w, void *l)
|
||||
void win_to_lin_struct_FriendGameInfo_t_116(const void *w, void *l)
|
||||
{
|
||||
FriendGameInfo_t *lin = (FriendGameInfo_t *)l;
|
||||
struct winFriendGameInfo_t_116 *win = (struct winFriendGameInfo_t_116 *)w;
|
||||
@ -53,7 +53,7 @@ void win_to_lin_struct_FriendGameInfo_t_116(void *w, void *l)
|
||||
lin->m_steamIDLobby = win->m_steamIDLobby;
|
||||
}
|
||||
|
||||
void lin_to_win_struct_FriendGameInfo_t_116(void *l, void *w)
|
||||
void lin_to_win_struct_FriendGameInfo_t_116(const void *l, void *w)
|
||||
{
|
||||
FriendGameInfo_t *lin = (FriendGameInfo_t *)l;
|
||||
struct winFriendGameInfo_t_116 *win = (struct winFriendGameInfo_t_116 *)w;
|
||||
@ -70,7 +70,7 @@ struct winNameHistoryResponse_t_8 {
|
||||
int m_cFailedLookups;
|
||||
} __attribute__ ((ms_struct));
|
||||
#pragma pack( pop )
|
||||
void cb_NameHistoryResponse_t_8(void *l, void *w)
|
||||
void cb_NameHistoryResponse_t_8(const void *l, void *w)
|
||||
{
|
||||
NameHistoryResponse_t *lin = (NameHistoryResponse_t *)l;
|
||||
struct winNameHistoryResponse_t_8 *win = (struct winNameHistoryResponse_t_8 *)w;
|
||||
@ -85,7 +85,7 @@ struct winservernetadr_t_116 {
|
||||
uint32 m_unIP;
|
||||
} __attribute__ ((ms_struct));
|
||||
#pragma pack( pop )
|
||||
void win_to_lin_struct_servernetadr_t_116(void *w, void *l)
|
||||
void win_to_lin_struct_servernetadr_t_116(const void *w, void *l)
|
||||
{
|
||||
servernetadr_t *lin = (servernetadr_t *)l;
|
||||
struct winservernetadr_t_116 *win = (struct winservernetadr_t_116 *)w;
|
||||
@ -94,7 +94,7 @@ void win_to_lin_struct_servernetadr_t_116(void *w, void *l)
|
||||
lin->m_unIP = win->m_unIP;
|
||||
}
|
||||
|
||||
void lin_to_win_struct_servernetadr_t_116(void *l, void *w)
|
||||
void lin_to_win_struct_servernetadr_t_116(const void *l, void *w)
|
||||
{
|
||||
servernetadr_t *lin = (servernetadr_t *)l;
|
||||
struct winservernetadr_t_116 *win = (struct winservernetadr_t_116 *)w;
|
||||
@ -125,7 +125,7 @@ struct wingameserveritem_t_116 {
|
||||
CSteamID m_steamID;
|
||||
} __attribute__ ((ms_struct));
|
||||
#pragma pack( pop )
|
||||
void win_to_lin_struct_gameserveritem_t_116(void *w, void *l)
|
||||
void win_to_lin_struct_gameserveritem_t_116(const void *w, void *l)
|
||||
{
|
||||
gameserveritem_t *lin = (gameserveritem_t *)l;
|
||||
struct wingameserveritem_t_116 *win = (struct wingameserveritem_t_116 *)w;
|
||||
@ -149,7 +149,7 @@ void win_to_lin_struct_gameserveritem_t_116(void *w, void *l)
|
||||
lin->m_steamID = win->m_steamID;
|
||||
}
|
||||
|
||||
void lin_to_win_struct_gameserveritem_t_116(void *l, void *w)
|
||||
void lin_to_win_struct_gameserveritem_t_116(const void *l, void *w)
|
||||
{
|
||||
gameserveritem_t *lin = (gameserveritem_t *)l;
|
||||
struct wingameserveritem_t_116 *win = (struct wingameserveritem_t_116 *)w;
|
||||
@ -183,7 +183,7 @@ struct winRemoteStorageDownloadUGCResult_t_32 {
|
||||
uint64 m_ulSteamIDOwner;
|
||||
} __attribute__ ((ms_struct));
|
||||
#pragma pack( pop )
|
||||
void cb_RemoteStorageDownloadUGCResult_t_32(void *l, void *w)
|
||||
void cb_RemoteStorageDownloadUGCResult_t_32(const void *l, void *w)
|
||||
{
|
||||
RemoteStorageDownloadUGCResult_t *lin = (RemoteStorageDownloadUGCResult_t *)l;
|
||||
struct winRemoteStorageDownloadUGCResult_t_32 *win = (struct winRemoteStorageDownloadUGCResult_t_32 *)w;
|
||||
@ -204,7 +204,7 @@ struct winLeaderboardEntry_t_116 {
|
||||
UGCHandle_t m_hUGC;
|
||||
} __attribute__ ((ms_struct));
|
||||
#pragma pack( pop )
|
||||
void win_to_lin_struct_LeaderboardEntry_t_116(void *w, void *l)
|
||||
void win_to_lin_struct_LeaderboardEntry_t_116(const void *w, void *l)
|
||||
{
|
||||
LeaderboardEntry_t *lin = (LeaderboardEntry_t *)l;
|
||||
struct winLeaderboardEntry_t_116 *win = (struct winLeaderboardEntry_t_116 *)w;
|
||||
@ -215,7 +215,7 @@ void win_to_lin_struct_LeaderboardEntry_t_116(void *w, void *l)
|
||||
lin->m_hUGC = win->m_hUGC;
|
||||
}
|
||||
|
||||
void lin_to_win_struct_LeaderboardEntry_t_116(void *l, void *w)
|
||||
void lin_to_win_struct_LeaderboardEntry_t_116(const void *l, void *w)
|
||||
{
|
||||
LeaderboardEntry_t *lin = (LeaderboardEntry_t *)l;
|
||||
struct winLeaderboardEntry_t_116 *win = (struct winLeaderboardEntry_t_116 *)w;
|
||||
@ -238,7 +238,7 @@ struct winP2PSessionState_t_116 {
|
||||
uint16 m_nRemotePort;
|
||||
} __attribute__ ((ms_struct));
|
||||
#pragma pack( pop )
|
||||
void win_to_lin_struct_P2PSessionState_t_116(void *w, void *l)
|
||||
void win_to_lin_struct_P2PSessionState_t_116(const void *w, void *l)
|
||||
{
|
||||
P2PSessionState_t *lin = (P2PSessionState_t *)l;
|
||||
struct winP2PSessionState_t_116 *win = (struct winP2PSessionState_t_116 *)w;
|
||||
@ -252,7 +252,7 @@ void win_to_lin_struct_P2PSessionState_t_116(void *w, void *l)
|
||||
lin->m_nRemotePort = win->m_nRemotePort;
|
||||
}
|
||||
|
||||
void lin_to_win_struct_P2PSessionState_t_116(void *l, void *w)
|
||||
void lin_to_win_struct_P2PSessionState_t_116(const void *l, void *w)
|
||||
{
|
||||
P2PSessionState_t *lin = (P2PSessionState_t *)l;
|
||||
struct winP2PSessionState_t_116 *win = (struct winP2PSessionState_t_116 *)w;
|
||||
@ -266,27 +266,5 @@ void lin_to_win_struct_P2PSessionState_t_116(void *l, void *w)
|
||||
win->m_nRemotePort = lin->m_nRemotePort;
|
||||
}
|
||||
|
||||
#pragma pack( push, 8 )
|
||||
struct winCCallbackBase_116 {
|
||||
uint8 m_nCallbackFlags;
|
||||
int m_iCallback;
|
||||
} __attribute__ ((ms_struct));
|
||||
#pragma pack( pop )
|
||||
void win_to_lin_struct_CCallbackBase_116(void *w, void *l)
|
||||
{
|
||||
CCallbackBase *lin = (CCallbackBase *)l;
|
||||
struct winCCallbackBase_116 *win = (struct winCCallbackBase_116 *)w;
|
||||
lin->m_nCallbackFlags = win->m_nCallbackFlags;
|
||||
lin->m_iCallback = win->m_iCallback;
|
||||
}
|
||||
|
||||
void lin_to_win_struct_CCallbackBase_116(void *l, void *w)
|
||||
{
|
||||
CCallbackBase *lin = (CCallbackBase *)l;
|
||||
struct winCCallbackBase_116 *win = (struct winCCallbackBase_116 *)w;
|
||||
win->m_nCallbackFlags = lin->m_nCallbackFlags;
|
||||
win->m_iCallback = lin->m_iCallback;
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
|
Reference in New Issue
Block a user