Yucom/lsteamclient/steamclient_manual_145.cpp
2019-08-23 09:57:46 -05:00

46 lines
1.4 KiB
C++

extern "C" {
#include <stdarg.h>
#include "windef.h"
#include "winbase.h"
#include "wine/debug.h"
WINE_DEFAULT_DEBUG_CHANNEL(steamclient);
}
#include "steam_defs.h"
#pragma push_macro("__cdecl")
#undef __cdecl
#include "steamworks_sdk_145/steam_api.h"
#include "steamworks_sdk_145/isteamnetworkingsockets.h"
#include "steamworks_sdk_145/steamnetworkingtypes.h"
#pragma pop_macro("__cdecl")
#include "steamclient_private.h"
extern "C" {
#define SDKVER_145
#include "struct_converters.h"
#include "queue.h"
/* forward to 002 implementation */
struct winSteamNetworkingMessage_t_144;
#include "cppISteamNetworkingSockets_SteamNetworkingSockets002.h"
int cppISteamNetworkingSockets_SteamNetworkingSockets003_ReceiveMessagesOnConnection(
void *linux_side, HSteamNetConnection hConn,
winSteamNetworkingMessage_t_145 **ppOutMessages, int nMaxMessages)
{
return cppISteamNetworkingSockets_SteamNetworkingSockets002_ReceiveMessagesOnConnection(linux_side, hConn,
(winSteamNetworkingMessage_t_144**)ppOutMessages, nMaxMessages);
}
int cppISteamNetworkingSockets_SteamNetworkingSockets003_ReceiveMessagesOnListenSocket(
void *linux_side, HSteamListenSocket hSocket,
winSteamNetworkingMessage_t_145 **ppOutMessages, int nMaxMessages)
{
return cppISteamNetworkingSockets_SteamNetworkingSockets002_ReceiveMessagesOnListenSocket(linux_side, hSocket,
(winSteamNetworkingMessage_t_144**)ppOutMessages, nMaxMessages);
}
}