about summary refs log tree commit diff stats
path: root/src/wrapped/wrappedlibxt.c
diff options
context:
space:
mode:
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)