mirror of
https://github.com/ValveSoftware/Proton
synced 2025-08-31 06:35:23 +00:00
lsteamclient: Rewrite SteamNetworkingMessage_t_144 unix thunks.
CW-Bug-Id: #22729
This commit is contained in:
@@ -9,6 +9,10 @@
|
||||
#include <windef.h>
|
||||
#include <winbase.h>
|
||||
|
||||
#ifndef STEAM_API_H
|
||||
#include "steamclient_structs.h"
|
||||
#endif
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C"
|
||||
{
|
||||
@@ -62,6 +66,21 @@ struct callback_data
|
||||
void execute_callback(struct callback_data *cb_data);
|
||||
bool is_native_thread(void);
|
||||
|
||||
#ifndef STEAM_API_H
|
||||
struct networking_message_pool;
|
||||
struct networking_message
|
||||
{
|
||||
struct networking_message_pool *pool;
|
||||
void **p_data;
|
||||
uint32_t *p_size;
|
||||
|
||||
u_SteamNetworkingMessage_t_144 *u_msg_144;
|
||||
w_SteamNetworkingMessage_t_144 w_msg_144;
|
||||
};
|
||||
|
||||
extern void unix_networking_messages_receive_144( uint32_t count, w_SteamNetworkingMessage_t_144 **w_msgs );
|
||||
#endif
|
||||
|
||||
#ifdef __cplusplus
|
||||
} /* extern "C" */
|
||||
#endif /* __cplusplus */
|
||||
|
Reference in New Issue
Block a user