about summary refs log tree commit diff stats
path: root/src/wrapped/wrappedlibxcbcursor.c
diff options
context:
space:
mode:
authorptitSeb <sebastien.chev@gmail.com>2023-12-26 15:18:41 +0100
committerptitSeb <sebastien.chev@gmail.com>2023-12-26 15:18:41 +0100
commite6bc1d7c22dd4486a1184c505c6175b6bdab09a0 (patch)
treef082c1c8074af7ef32dacfa99d8e31a006a18886 /src/wrapped/wrappedlibxcbcursor.c
parentcb63cdcd421e33449c5edde04a04a3833c950cfe (diff)
downloadbox64-e6bc1d7c22dd4486a1184c505c6175b6bdab09a0.tar.gz
box64-e6bc1d7c22dd4486a1184c505c6175b6bdab09a0.zip
More work on xcb wrapping, as xcb_connection_t needs alignment
Diffstat (limited to 'src/wrapped/wrappedlibxcbcursor.c')
-rw-r--r--src/wrapped/wrappedlibxcbcursor.c28
1 files changed, 28 insertions, 0 deletions
diff --git a/src/wrapped/wrappedlibxcbcursor.c b/src/wrapped/wrappedlibxcbcursor.c
new file mode 100644
index 00000000..e4d1f2d2
--- /dev/null
+++ b/src/wrapped/wrappedlibxcbcursor.c
@@ -0,0 +1,28 @@
+#include <stdio.h>
+#include <stdlib.h>
+#include <string.h>
+#define _GNU_SOURCE         /* See feature_test_macros(7) */
+#include <dlfcn.h>
+
+#include "wrappedlibs.h"
+
+#include "debug.h"
+#include "wrapper.h"
+#include "bridge.h"
+#include "librarian/library_private.h"
+#include "x64emu.h"
+#include "emu/x64emu_private.h"
+#include "callback.h"
+#include "librarian.h"
+#include "box64context.h"
+#include "emu/x64emu_private.h"
+
+#ifdef ANDROID
+	const char* libxcbcursorName = "libxcb-cursor.so";
+#else
+	const char* libxcbcursorName = "libxcb-cursor.so.0";
+#endif
+
+#define LIBNAME libxcbcursor
+
+#include "wrappedlib_init.h"