about summary refs log tree commit diff stats
path: root/src/wrapped32/generated/wrappedsdl2types32.h
blob: 800218d08c5b6ac6fae8796ec861f7213486f533 (plain) (blame)
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
/*********************************************************************
 * File automatically generated by rebuild_wrappers_32.py (v0.0.2.2) *
 *********************************************************************/
#ifndef __wrappedsdl2TYPES32_H_
#define __wrappedsdl2TYPES32_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 uintptr_t (*hFp_t)(void*);
typedef SDL2_GUID_t (*JFi_t)(int32_t);
typedef SDL2_GUID_t (*JFp_t)(void*);
typedef void (*vFpp_t)(void*, void*);
typedef void (*vFpV_t)(void*, ...);
typedef int32_t (*iFip_t)(int32_t, void*);
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 int32_t (*iFiip_t)(int32_t, int32_t, void*);
typedef int32_t (*iFpiu_t)(void*, int32_t, uint32_t);
typedef int32_t (*iFppu_t)(void*, void*, uint32_t);
typedef int32_t (*iFppV_t)(void*, void*, ...);
typedef int64_t (*IFpIi_t)(void*, int64_t, int32_t);
typedef void* (*pFipp_t)(int32_t, void*, void*);
typedef void* (*pFpii_t)(void*, int32_t, int32_t);
typedef void* (*pFpuu_t)(void*, uint32_t, uint32_t);
typedef void* (*pFppu_t)(void*, void*, uint32_t);
typedef void* (*pFppp_t)(void*, void*, void*);
typedef int32_t (*iFpLpp_t)(void*, uintptr_t, void*, void*);
typedef int32_t (*iFpLpV_t)(void*, uintptr_t, void*, ...);
typedef uintptr_t (*LFppLL_t)(void*, void*, uintptr_t, uintptr_t);
typedef int32_t (*iFpiuuu_t)(void*, int32_t, uint32_t, uint32_t, uint32_t);
typedef uint32_t (*uFpippi_t)(void*, int32_t, void*, void*, int32_t);
typedef void* (*pFpiiiiu_t)(void*, int32_t, int32_t, int32_t, int32_t, uint32_t);
typedef void* (*pFuiiiuuuu_t)(uint32_t, int32_t, int32_t, int32_t, uint32_t, uint32_t, uint32_t, uint32_t);
typedef void* (*pFpiiiiuuuu_t)(void*, int32_t, int32_t, int32_t, int32_t, uint32_t, uint32_t, uint32_t, uint32_t);

#define SUPER() ADDED_FUNCTIONS() \
	GO(SDL_FreeSurface, vFp_t) \
	GO(SDL_GetCPUCount, iFv_t) \
	GO(SDL_PollEvent, iFp_t) \
	GO(SDL_PushEvent, iFp_t) \
	GO(SDL_RWclose, iFp_t) \
	GO(SDL_RWsize, 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_GL_GetProcAddress, pFp_t) \
	GO(SDL_GetThreadID, hFp_t) \
	GO(SDL_JoystickGetDeviceGUID, JFi_t) \
	GO(SDL_JoystickGetGUIDFromString, JFp_t) \
	GO(SDL_AddEventWatch, vFpp_t) \
	GO(SDL_DelEventWatch, vFpp_t) \
	GO(SDL_SetEventFilter, vFpp_t) \
	GO(SDL_SetWindowIcon, vFpp_t) \
	GO(SDL_Log, vFpV_t) \
	GO(SDL_GetCurrentDisplayMode, iFip_t) \
	GO(SDL_GetDesktopDisplayMode, iFip_t) \
	GO(SDL_GameControllerAddMappingsFromRW, iFpi_t) \
	GO(SDL_WaitEventTimeout, iFpi_t) \
	GO(SDL_GetWindowDisplayMode, iFpp_t) \
	GO(SDL_GetWindowWMInfo, iFpp_t) \
	GO(SDL_OpenAudio, iFpp_t) \
	GO(SDL_SetWindowDisplayMode, iFpp_t) \
	GO(SDL_ShowMessageBox, 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_RWFromMem, pFpi_t) \
	GO(SDL_notreal, pFpi_t) \
	GO(SDL_CreateTextureFromSurface, pFpp_t) \
	GO(SDL_RWFromFile, pFpp_t) \
	GO(SDL_GetDisplayMode, iFiip_t) \
	GO(SDL_SetColorKey, iFpiu_t) \
	GO(SDL_FillRect, iFppu_t) \
	GO(SDL_sscanf, iFppV_t) \
	GO(SDL_RWseek, IFpIi_t) \
	GO(SDL_GetClosestDisplayMode, pFipp_t) \
	GO(SDL_CreateColorCursor, pFpii_t) \
	GO(SDL_ConvertSurfaceFormat, pFpuu_t) \
	GO(SDL_ConvertSurface, pFppu_t) \
	GO(SDL_CreateThread, pFppp_t) \
	GO(SDL_vsnprintf, iFpLpp_t) \
	GO(SDL_snprintf, iFpLpV_t) \
	GO(SDL_RWread, LFppLL_t) \
	GO(SDL_RWwrite, LFppLL_t) \
	GO(SDL_PeepEvents, iFpiuuu_t) \
	GO(SDL_OpenAudioDevice, uFpippi_t) \
	GO(SDL_CreateRGBSurfaceWithFormatFrom, pFpiiiiu_t) \
	GO(SDL_CreateRGBSurface, pFuiiiuuuu_t) \
	GO(SDL_CreateRGBSurfaceFrom, pFpiiiiuuuu_t)

#endif // __wrappedsdl2TYPES32_H_