about summary refs log tree commit diff stats
path: root/src/wrapped/wrappedlibxpresent.c
diff options
context:
space:
mode:
authorptitSeb <sebastien.chev@gmail.com>2022-12-04 08:55:32 +0100
committerptitSeb <sebastien.chev@gmail.com>2022-12-04 08:55:32 +0100
commitffb293fe0a9952c32fe2ebd164d6409facf8d921 (patch)
treee69cbe45f72d2d08ff16ae2bc472291948e7456c /src/wrapped/wrappedlibxpresent.c
parentf46522572ecd0f1d8297d1cf9c815f9c6964904a (diff)
downloadbox64-ffb293fe0a9952c32fe2ebd164d6409facf8d921.tar.gz
box64-ffb293fe0a9952c32fe2ebd164d6409facf8d921.zip
Added wrapped libXpresent.so.1
Diffstat (limited to 'src/wrapped/wrappedlibxpresent.c')
-rw-r--r--src/wrapped/wrappedlibxpresent.c19
1 files changed, 19 insertions, 0 deletions
diff --git a/src/wrapped/wrappedlibxpresent.c b/src/wrapped/wrappedlibxpresent.c
new file mode 100644
index 00000000..c5d13fd5
--- /dev/null
+++ b/src/wrapped/wrappedlibxpresent.c
@@ -0,0 +1,19 @@
+#include <stdio.h>
+#include <stdlib.h>
+#include <string.h>
+#define _GNU_SOURCE         /* See feature_test_macros(7) */
+#include <dlfcn.h>
+
+#include "wrappedlibs.h"
+
+#include "wrapper.h"
+#include "bridge.h"
+#include "librarian/library_private.h"
+#include "x64emu.h"
+#include "debug.h"
+
+const char* libxpresentName = "libXpresent.so.1";
+#define LIBNAME libxpresent
+
+#include "wrappedlib_init.h"
+