1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
|
/*******************************************************************
* File automatically generated by rebuild_wrappers.py (v2.2.0.18) *
*******************************************************************/
#ifndef __wrappedsdl2TYPES_H_
#define __wrappedsdl2TYPES_H_
#ifndef LIBNAME
#error You should only #include this file inside a wrapped*.c file
#endif
#ifndef ADDED_FUNCTIONS
#define ADDED_FUNCTIONS()
#endif
typedef void (*vFp_t)(void*);
typedef int32_t (*iFv_t)(void);
typedef int32_t (*iFp_t)(void*);
typedef int64_t (*IFp_t)(void*);
typedef uint32_t (*uFp_t)(void*);
typedef uint64_t (*UFp_t)(void*);
typedef void* (*pFv_t)(void);
typedef void* (*pFp_t)(void*);
typedef void (*vFpp_t)(void*, void*);
typedef void (*vFpV_t)(void*, ...);
typedef int32_t (*iFip_t)(int32_t, void*);
typedef int32_t (*iFWW_t)(uint16_t, uint16_t);
typedef int32_t (*iFUU_t)(uint64_t, uint64_t);
typedef int32_t (*iFpi_t)(void*, int32_t);
typedef int32_t (*iFpp_t)(void*, void*);
typedef uint32_t (*uFpW_t)(void*, uint16_t);
typedef uint32_t (*uFpu_t)(void*, uint32_t);
typedef uint32_t (*uFpU_t)(void*, uint64_t);
typedef void* (*pFpi_t)(void*, int32_t);
typedef void* (*pFpp_t)(void*, void*);
typedef void (*vFipV_t)(int32_t, void*, ...);
typedef int32_t (*iFupu_t)(uint32_t, void*, uint32_t);
typedef int32_t (*iFupp_t)(uint32_t, void*, void*);
typedef int32_t (*iFppi_t)(void*, void*, int32_t);
typedef int32_t (*iFppV_t)(void*, void*, ...);
typedef int64_t (*IFpIi_t)(void*, int64_t, int32_t);
typedef void* (*pFupp_t)(uint32_t, void*, void*);
typedef void* (*pFppi_t)(void*, void*, int32_t);
typedef void* (*pFppp_t)(void*, void*, void*);
typedef void (*vFpuup_t)(void*, uint32_t, uint32_t, void*);
typedef void (*vFGppp_t)(SDL_JoystickGUID, void*, void*, void*);
typedef int32_t (*iFpLpp_t)(void*, uintptr_t, void*, void*);
typedef int32_t (*iFpLpV_t)(void*, uintptr_t, void*, ...);
typedef uint32_t (*uFppuu_t)(void*, void*, uint32_t, uint32_t);
typedef int32_t (*iFpippi_t)(void*, int32_t, void*, void*, int32_t);
typedef void* (*pFpippp_t)(void*, int32_t, void*, void*, void*);
#define SUPER() ADDED_FUNCTIONS() \
GO(SDL_UnloadObject, vFp_t) \
GO(SDL_Has3DNow, iFv_t) \
GO(SDL_HasAVX, iFv_t) \
GO(SDL_HasAVX2, iFv_t) \
GO(SDL_HasAVX512F, iFv_t) \
GO(SDL_HasAltiVec, iFv_t) \
GO(SDL_HasMMX, iFv_t) \
GO(SDL_HasNEON, iFv_t) \
GO(SDL_HasRDTSC, iFv_t) \
GO(SDL_HasSSE, iFv_t) \
GO(SDL_HasSSE2, iFv_t) \
GO(SDL_HasSSE3, iFv_t) \
GO(SDL_HasSSE41, iFv_t) \
GO(SDL_HasSSE42, iFv_t) \
GO(SDL_RWclose, iFp_t) \
GO(SDL_RemoveTimer, iFp_t) \
GO(SDL_SaveAllDollarTemplates, iFp_t) \
GO(SDL_RWtell, IFp_t) \
GO(SDL_ReadBE16, uFp_t) \
GO(SDL_ReadBE32, uFp_t) \
GO(SDL_ReadLE16, uFp_t) \
GO(SDL_ReadLE32, uFp_t) \
GO(SDL_ReadU8, uFp_t) \
GO(SDL_ReadBE64, UFp_t) \
GO(SDL_ReadLE64, UFp_t) \
GO(SDL_GetBasePath, pFv_t) \
GO(SDL_Vulkan_GetVkGetInstanceProcAddr, pFv_t) \
GO(SDL_GL_GetProcAddress, pFp_t) \
GO(SDL_LoadObject, pFp_t) \
GO(SDL_AddEventWatch, vFpp_t) \
GO(SDL_DelEventWatch, vFpp_t) \
GO(SDL_LogGetOutputFunction, vFpp_t) \
GO(SDL_LogSetOutputFunction, vFpp_t) \
GO(SDL_SetEventFilter, vFpp_t) \
GO(SDL_Log, vFpV_t) \
GO(SDL_SaveDollarTemplate, iFip_t) \
GO(SDL_IsJoystickNintendoSwitchPro, iFWW_t) \
GO(SDL_IsJoystickPS4, iFWW_t) \
GO(SDL_IsJoystickSteamController, iFWW_t) \
GO(SDL_IsJoystickXbox360, iFWW_t) \
GO(SDL_IsJoystickXboxOne, iFWW_t) \
GO(SDL_IsJoystickHIDAPI, iFUU_t) \
GO(SDL_IsJoystickXInput, iFUU_t) \
GO(SDL_GameControllerAddMappingsFromRW, iFpi_t) \
GO(SDL_GetEventFilter, iFpp_t) \
GO(SDL_OpenAudio, iFpp_t) \
GO(SDL_WriteBE16, uFpW_t) \
GO(SDL_WriteLE16, uFpW_t) \
GO(SDL_WriteBE32, uFpu_t) \
GO(SDL_WriteLE32, uFpu_t) \
GO(SDL_WriteU8, uFpu_t) \
GO(SDL_WriteBE64, uFpU_t) \
GO(SDL_WriteLE64, uFpU_t) \
GO(SDL_LoadBMP_RW, pFpi_t) \
GO(SDL_RWFromConstMem, pFpi_t) \
GO(SDL_RWFromFP, pFpi_t) \
GO(SDL_RWFromMem, pFpi_t) \
GO(SDL_LoadFunction, pFpp_t) \
GO(SDL_RWFromFile, pFpp_t) \
GO(SDL_LogCritical, vFipV_t) \
GO(SDL_LogDebug, vFipV_t) \
GO(SDL_LogError, vFipV_t) \
GO(SDL_LogInfo, vFipV_t) \
GO(SDL_LogVerbose, vFipV_t) \
GO(SDL_LogWarn, vFipV_t) \
GO(SDL_DYNAPI_entry, iFupu_t) \
GO(SDL_TLSSet, iFupp_t) \
GO(SDL_SaveBMP_RW, iFppi_t) \
GO(SDL_sscanf, iFppV_t) \
GO(SDL_RWseek, IFpIi_t) \
GO(SDL_AddTimer, pFupp_t) \
GO(SDL_LoadFile_RW, pFppi_t) \
GO(SDL_CreateThread, pFppp_t) \
GO(SDL_qsort, vFpuup_t) \
GO(SDL_GetJoystickGUIDInfo, vFGppp_t) \
GO(SDL_vsnprintf, iFpLpp_t) \
GO(SDL_snprintf, iFpLpV_t) \
GO(SDL_RWread, uFppuu_t) \
GO(SDL_RWwrite, uFppuu_t) \
GO(SDL_OpenAudioDevice, iFpippi_t) \
GO(SDL_LoadWAV_RW, pFpippp_t)
#endif // __wrappedsdl2TYPES_H_
|