mirror of
https://git.suyu.dev/suyu/Yucom.git
synced 2025-12-24 08:14:34 +01:00
lsteamclient: Generate function types with ABI attributes.
CW-Bug-Id: #22729
This commit is contained in:
parent
cc69121738
commit
5ec5ec2923
61 changed files with 257 additions and 155 deletions
|
|
@ -23,6 +23,11 @@ typedef void (*vtable_ptr)(void);
|
|||
extern "C" {
|
||||
#endif
|
||||
|
||||
#define W_CDECL __cdecl
|
||||
#define W_STDCALL __stdcall
|
||||
#define U_CDECL __attribute__((sysv_abi))
|
||||
#define U_STDCALL __attribute__((sysv_abi))
|
||||
|
||||
struct w_steam_iface
|
||||
{
|
||||
vtable_ptr *vtable;
|
||||
|
|
@ -52,9 +57,32 @@ void *create_LinuxISteamMatchmakingServerListResponse(void *win, const char *ver
|
|||
void *create_LinuxISteamMatchmakingPingResponse(void *win, const char *version);
|
||||
void *create_LinuxISteamMatchmakingPlayersResponse(void *win, const char *version);
|
||||
void *create_LinuxISteamMatchmakingRulesResponse(void *win, const char *version);
|
||||
void *manual_convert_SteamAPIWarningMessageHook_t(void *win_func);
|
||||
void *manual_convert_FSteamNetworkingSocketsDebugOutput(void *win_func);
|
||||
void *manual_convert_SteamAPI_CheckCallbackRegistered_t(void *win_func);
|
||||
|
||||
typedef void (U_CDECL *u_SteamAPIWarningMessageHook_t)( int32_t, const char * );
|
||||
typedef void (W_CDECL *w_SteamAPIWarningMessageHook_t)( int32_t, const char * );
|
||||
u_SteamAPIWarningMessageHook_t manual_convert_SetWarningMessageHook_pFunction( w_SteamAPIWarningMessageHook_t );
|
||||
|
||||
typedef void (U_STDCALL *u_FSteamNetworkingSocketsDebugOutput)( uint32_t, const char * );
|
||||
typedef void (W_STDCALL *w_FSteamNetworkingSocketsDebugOutput)( uint32_t, const char * );
|
||||
u_FSteamNetworkingSocketsDebugOutput manual_convert_SetDebugOutputFunction_pfnFunc( w_FSteamNetworkingSocketsDebugOutput );
|
||||
|
||||
typedef uint32_t (U_STDCALL *u_SteamAPI_CheckCallbackRegistered_t)( int32_t );
|
||||
typedef uint32_t (W_STDCALL *w_SteamAPI_CheckCallbackRegistered_t)( int32_t );
|
||||
u_SteamAPI_CheckCallbackRegistered_t manual_convert_Set_SteamAPI_CCheckCallbackRegisteredInProcess_func( w_SteamAPI_CheckCallbackRegistered_t );
|
||||
|
||||
typedef uint32_t (U_CDECL *u_SteamAPI_CheckCallbackRegistered_t_156)( int32_t );
|
||||
typedef uint32_t (W_CDECL *w_SteamAPI_CheckCallbackRegistered_t_156)( int32_t );
|
||||
u_SteamAPI_CheckCallbackRegistered_t_156 manual_convert_Set_SteamAPI_CCheckCallbackRegisteredInProcess_func_156( w_SteamAPI_CheckCallbackRegistered_t_156 );
|
||||
|
||||
typedef void (U_STDCALL *u_SteamAPI_PostAPIResultInProcess_t)( uint64_t, void *, uint32_t, int );
|
||||
typedef void (W_STDCALL *w_SteamAPI_PostAPIResultInProcess_t)( uint64_t, void *, uint32_t, int );
|
||||
u_SteamAPI_PostAPIResultInProcess_t manual_convert_Set_SteamAPI_CPostAPIResultInProcess_func( w_SteamAPI_PostAPIResultInProcess_t );
|
||||
u_SteamAPI_PostAPIResultInProcess_t manual_convert_Remove_SteamAPI_CPostAPIResultInProcess_func( w_SteamAPI_PostAPIResultInProcess_t );
|
||||
|
||||
typedef void (U_STDCALL *u_void_SteamAPI_PostAPIResultInProcess_t)(void);
|
||||
typedef void (W_STDCALL *w_void_SteamAPI_PostAPIResultInProcess_t)(void);
|
||||
u_void_SteamAPI_PostAPIResultInProcess_t manual_convert_DEPRECATED_Set_SteamAPI_CPostAPIResultInProcess__a( w_void_SteamAPI_PostAPIResultInProcess_t );
|
||||
u_void_SteamAPI_PostAPIResultInProcess_t manual_convert_DEPRECATED_Remove_SteamAPI_CPostAPIResultInProcess__a( w_void_SteamAPI_PostAPIResultInProcess_t );
|
||||
|
||||
#define PATH_MAX 4096
|
||||
extern char g_tmppath[PATH_MAX];
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue