lsteamclient: Don't convert callbacks with identical layouts

This commit is contained in:
Andrew Eikum 2018-10-30 08:09:46 -05:00
parent 3714637f08
commit 17ce82bc1c
59 changed files with 567 additions and 6195 deletions

View file

@ -48,11 +48,7 @@ const char * cppISteamFriends_SteamFriends015_GetFriendPersonaName(void *linux_s
bool cppISteamFriends_SteamFriends015_GetFriendGamePlayed(void *linux_side, CSteamID steamIDFriend, FriendGameInfo_t * pFriendGameInfo)
{
FriendGameInfo_t lin_pFriendGameInfo;
win_to_lin_struct_FriendGameInfo_t_142(pFriendGameInfo, &lin_pFriendGameInfo);
bool retval = ((ISteamFriends*)linux_side)->GetFriendGamePlayed((CSteamID)steamIDFriend, &lin_pFriendGameInfo);
lin_to_win_struct_FriendGameInfo_t_142(&lin_pFriendGameInfo, pFriendGameInfo);
return retval;
return ((ISteamFriends*)linux_side)->GetFriendGamePlayed((CSteamID)steamIDFriend, (FriendGameInfo_t *)pFriendGameInfo);
}
const char * cppISteamFriends_SteamFriends015_GetFriendPersonaNameHistory(void *linux_side, CSteamID steamIDFriend, int iPersonaName)