about summary refs log tree commit diff stats
path: root/src/wrapped32/generated/wrappedlibx11types32.h
diff options
context:
space:
mode:
authorptitSeb <sebastien.chev@gmail.com>2024-09-22 16:24:48 +0200
committerptitSeb <sebastien.chev@gmail.com>2024-09-22 16:24:48 +0200
commitd2aecc041215fa3c5218d1d11cdb52b4f0e75a67 (patch)
treecae1d496ce0e35e0137aa7cf124f3174153a97ea /src/wrapped32/generated/wrappedlibx11types32.h
parent710d537f3949d55944bc96e73927c9d30bdf13c2 (diff)
downloadbox64-d2aecc041215fa3c5218d1d11cdb52b4f0e75a67.tar.gz
box64-d2aecc041215fa3c5218d1d11cdb52b4f0e75a67.zip
[BOX32][wrapper] Added some basic 32bits X11 wrapping, fixed 32bits sem_XXX wrapping, and more 32bits wrapped functions
Diffstat (limited to 'src/wrapped32/generated/wrappedlibx11types32.h')
-rw-r--r--src/wrapped32/generated/wrappedlibx11types32.h39
1 files changed, 39 insertions, 0 deletions
diff --git a/src/wrapped32/generated/wrappedlibx11types32.h b/src/wrapped32/generated/wrappedlibx11types32.h
new file mode 100644
index 00000000..1312148b
--- /dev/null
+++ b/src/wrapped32/generated/wrappedlibx11types32.h
@@ -0,0 +1,39 @@
+/******************************************************************
+ * File automatically generated by rebuild_wrappers_32.py (v0.0.1.1) *
+ ******************************************************************/
+#ifndef __wrappedlibx11TYPES32_H_
+#define __wrappedlibx11TYPES32_H_
+
+#ifndef LIBNAME
+#error You should only #include this file inside a wrapped*.c file
+#endif
+#ifndef ADDED_FUNCTIONS
+#define ADDED_FUNCTIONS() 
+#endif
+
+typedef int32_t (*iFp_t)(void*);
+typedef void* (*pFp_t)(void*);
+typedef int32_t (*iFXp_t)(void*, void*);
+typedef uintptr_t (*LFXii_t)(void*, int32_t, int32_t);
+typedef void* (*pFpiiuu_t)(void*, int32_t, int32_t, uint32_t, uint32_t);
+typedef void* (*pFXLiiuuLi_t)(void*, uintptr_t, int32_t, int32_t, uint32_t, uint32_t, uintptr_t, int32_t);
+typedef int32_t (*iFXLppiiiiuu_t)(void*, uintptr_t, void*, void*, int32_t, int32_t, int32_t, int32_t, uint32_t, uint32_t);
+typedef void* (*pFXpuiipuuii_t)(void*, void*, uint32_t, int32_t, int32_t, void*, uint32_t, uint32_t, int32_t, int32_t);
+typedef void* (*pFXLiiuuLipii_t)(void*, uintptr_t, int32_t, int32_t, uint32_t, uint32_t, uintptr_t, int32_t, void*, int32_t, int32_t);
+typedef uintptr_t (*LFXLiiuuuiupLp_t)(void*, uintptr_t, int32_t, int32_t, uint32_t, uint32_t, uint32_t, int32_t, uint32_t, void*, uintptr_t, void*);
+
+#define SUPER() ADDED_FUNCTIONS() \
+	GO(XDestroyImage, iFp_t) \
+	GO(XInitImage, iFp_t) \
+	GO(_XInitImageFuncPtrs, iFp_t) \
+	GO(XOpenDisplay, pFp_t) \
+	GO(XNextEvent, iFXp_t) \
+	GO(XGetPixel, LFXii_t) \
+	GO(XSubImage, pFpiiuu_t) \
+	GO(XGetImage, pFXLiiuuLi_t) \
+	GO(XPutImage, iFXLppiiiiuu_t) \
+	GO(XCreateImage, pFXpuiipuuii_t) \
+	GO(XGetSubImage, pFXLiiuuLipii_t) \
+	GO(XCreateWindow, LFXLiiuuuiupLp_t)
+
+#endif // __wrappedlibx11TYPES32_H_