Yucom/lsteamclient/steamclient_manual_145.cpp

47 lines
1.4 KiB
C++
Raw Normal View History

2019-08-16 14:44:08 +02:00
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
2019-08-16 14:44:08 +02:00
#include "steamworks_sdk_145/steam_api.h"
#include "steamworks_sdk_145/isteamnetworkingsockets.h"
#include "steamworks_sdk_145/steamnetworkingtypes.h"
#pragma pop_macro("__cdecl")
2019-08-16 14:44:08 +02:00
#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);
}
}