mirror of
https://git.suyu.dev/suyu/Yucom.git
synced 2026-01-04 05:34:29 +01:00
lsteamclient: Rewrite SteamNetworkingMessage_t_144 unix thunks.
CW-Bug-Id: #22729
This commit is contained in:
parent
0e4fab2dff
commit
b56d6aa766
8 changed files with 285 additions and 114 deletions
|
|
@ -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 */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue