about summary refs log tree commit diff stats
path: root/src/wrapped/wrappedlibxt.c
diff options
context:
space:
mode:
authorrajdakin <loic_chevalier@yahoo.fr>2021-06-04 22:59:17 +0200
committerrajdakin <loic_chevalier@yahoo.fr>2021-06-04 23:01:56 +0200
commit8d97f136772d43a27b25ccfba872c908ceafe617 (patch)
treeecbfb72d23362c743c3aeea06d63d37c3008c339 /src/wrapped/wrappedlibxt.c
parent75c4c3d6b92bd82c1cd5c9a659b354127559a43c (diff)
downloadbox64-8d97f136772d43a27b25ccfba872c908ceafe617.tar.gz
box64-8d97f136772d43a27b25ccfba872c908ceafe617.zip
Fixed some wrapped functions, upgraded the python script
Diffstat (limited to 'src/wrapped/wrappedlibxt.c')
-rwxr-xr-xsrc/wrapped/wrappedlibxt.c7
1 files changed, 2 insertions, 5 deletions
diff --git a/src/wrapped/wrappedlibxt.c b/src/wrapped/wrappedlibxt.c
index a0802a31..f35265e9 100755
--- a/src/wrapped/wrappedlibxt.c
+++ b/src/wrapped/wrappedlibxt.c
@@ -20,16 +20,13 @@
 const char* libxtName = "libXt.so.6";
 #define LIBNAME libxt
 
-typedef void  (*vFpuipp_t)(void*, uint32_t, int32_t, void*, void*);
-
-#define SUPER() \
-    GO(XtAddEventHandler, vFpuipp_t)
+#include "generated/wrappedlibxttypes.h"
 
 typedef struct libxt_my_s {
+    // functions
     #define GO(A, B)    B   A;
     SUPER()
     #undef GO
-    // functions
 } libxt_my_t;
 
 void* getXtMy(library_t* lib)