Skip to content

Commit 37a1898

Browse files
authored
[BOX32][WRAPPER] Fixed XPeekIfEvent wrapping (#3329)
1 parent baa962f commit 37a1898

File tree

3 files changed

+4
-6
lines changed

3 files changed

+4
-6
lines changed

src/wrapped32/generated/functions_list.txt

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3161,8 +3161,6 @@ wrappedlibx11:
31613161
- XkbGetMap
31623162
- vFXLpL:
31633163
- XSetWMSizeHints
3164-
- iFpppp:
3165-
- XPeekIfEvent
31663164
- iFXLip:
31673165
- XCheckTypedWindowEvent
31683166
- iFXLlp:
@@ -3183,6 +3181,7 @@ wrappedlibx11:
31833181
- iFXppp:
31843182
- XCheckIfEvent
31853183
- XIfEvent
3184+
- XPeekIfEvent
31863185
- LFXLpi:
31873186
- XCreateColormap
31883187
- pFXCip:

src/wrapped32/generated/wrappedlibx11types32.h

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,6 @@ typedef void* (*pFXip_t)(void*, int32_t, void*);
4444
typedef void* (*pFXCL_t)(void*, uint8_t, uintptr_t);
4545
typedef void* (*pFXuu_t)(void*, uint32_t, uint32_t);
4646
typedef void (*vFXLpL_t)(void*, uintptr_t, void*, uintptr_t);
47-
typedef int32_t (*iFpppp_t)(void*, void*, void*, void*);
4847
typedef int32_t (*iFXLip_t)(void*, uintptr_t, int32_t, void*);
4948
typedef int32_t (*iFXLlp_t)(void*, uintptr_t, intptr_t, void*);
5049
typedef int32_t (*iFXLLp_t)(void*, uintptr_t, uintptr_t, void*);
@@ -154,7 +153,6 @@ typedef uintptr_t (*LFXLiiuuuiupLp_t)(void*, uintptr_t, int32_t, int32_t, uint32
154153
GO(_XGetRequest, pFXCL_t) \
155154
GO(XkbGetMap, pFXuu_t) \
156155
GO(XSetWMSizeHints, vFXLpL_t) \
157-
GO(XPeekIfEvent, iFpppp_t) \
158156
GO(XCheckTypedWindowEvent, iFXLip_t) \
159157
GO(XCheckWindowEvent, iFXLlp_t) \
160158
GO(XWindowEvent, iFXLlp_t) \
@@ -168,6 +166,7 @@ typedef uintptr_t (*LFXLiiuuuiupLp_t)(void*, uintptr_t, int32_t, int32_t, uint32
168166
GO(_XReply, iFXpii_t) \
169167
GO(XCheckIfEvent, iFXppp_t) \
170168
GO(XIfEvent, iFXppp_t) \
169+
GO(XPeekIfEvent, iFXppp_t) \
171170
GO(XCreateColormap, LFXLpi_t) \
172171
GO(XGetKeyboardMapping, pFXCip_t) \
173172
GO(XGetVisualInfo, pFXlpp_t) \

src/wrapped32/wrappedlibx11_private.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -942,8 +942,8 @@ GO(XOpenOM, pFXppp)
942942
//GO(_XParseBaseFontNameList,
943943
GO(XParseColor, iFXLpbLWWWcc_)
944944
GO(XParseGeometry, iFppppp)
945-
GOM(XPeekEvent, iFEXp) // Warning: failed to confirm
946-
GOM(XPeekIfEvent, iFEpppp)
945+
GOM(XPeekEvent, iFEXp)
946+
GOM(XPeekIfEvent, iFEXppp)
947947
GO(XPending, iFX)
948948
GO(Xpermalloc, pFu)
949949
//GOM(XPlanesOfScreen, iFEbpXLiiiiipippLLLiiiil_)

0 commit comments

Comments
 (0)