diff options
| author | ptitSeb <sebastien.chev@gmail.com> | 2022-12-06 17:35:00 +0100 |
|---|---|---|
| committer | ptitSeb <sebastien.chev@gmail.com> | 2022-12-06 17:35:00 +0100 |
| commit | 9d8381041d0d1603807f9364cca4838894a54c2a (patch) | |
| tree | 4f23b3bb9c83cdaae386fbeb16f951e3bbfe15f1 /src | |
| parent | 5cf4226c1318e0a4bed74428bab3e2af47da4d8b (diff) | |
| download | box64-9d8381041d0d1603807f9364cca4838894a54c2a.tar.gz box64-9d8381041d0d1603807f9364cca4838894a54c2a.zip | |
Added wrapped (empty) libxcb-util.so (helps #468)
Diffstat (limited to 'src')
| -rwxr-xr-x | src/library_list.h | 1 | ||||
| -rw-r--r-- | src/wrapped/generated/functions_list.txt | 1 | ||||
| -rw-r--r-- | src/wrapped/generated/wrappedlibxcbutildefs.h | 8 | ||||
| -rw-r--r-- | src/wrapped/generated/wrappedlibxcbutiltypes.h | 17 | ||||
| -rw-r--r-- | src/wrapped/generated/wrappedlibxcbutilundefs.h | 8 | ||||
| -rw-r--r-- | src/wrapped/wrappedlibxcbutil.c | 23 | ||||
| -rw-r--r-- | src/wrapped/wrappedlibxcbutil_private.h | 30 |
7 files changed, 88 insertions, 0 deletions
diff --git a/src/library_list.h b/src/library_list.h index ee630b77..40e64785 100755 --- a/src/library_list.h +++ b/src/library_list.h @@ -65,6 +65,7 @@ GO("libxcb-glx.so.0", libxcbglx) GO("libxcb-dri2.so.0", libxcbdri2) GO("libxcb-dri3.so.0", libxcbdri3) GO("libxcb-icccm.so.4", libxcbicccm) +GO("libxcb-util.so.1", libxcbutil) //GO("libxcb-present.so.0", libxcbpresent) GO("libXtst.so.6", libxtst) GO("libXt.so.6", libxt) diff --git a/src/wrapped/generated/functions_list.txt b/src/wrapped/generated/functions_list.txt index 8b56674d..c26318b4 100644 --- a/src/wrapped/generated/functions_list.txt +++ b/src/wrapped/generated/functions_list.txt @@ -3532,6 +3532,7 @@ wrappedlibxcbkeysyms: wrappedlibxcbrandr: wrappedlibxcbshape: wrappedlibxcbshm: +wrappedlibxcbutil: wrappedlibxcbxfixes: wrappedlibxcbxtest: wrappedlibxcomposite: diff --git a/src/wrapped/generated/wrappedlibxcbutildefs.h b/src/wrapped/generated/wrappedlibxcbutildefs.h new file mode 100644 index 00000000..7707af6e --- /dev/null +++ b/src/wrapped/generated/wrappedlibxcbutildefs.h @@ -0,0 +1,8 @@ +/******************************************************************* + * File automatically generated by rebuild_wrappers.py (v2.1.0.16) * + *******************************************************************/ +#ifndef __wrappedlibxcbutilDEFS_H_ +#define __wrappedlibxcbutilDEFS_H_ + + +#endif // __wrappedlibxcbutilDEFS_H_ diff --git a/src/wrapped/generated/wrappedlibxcbutiltypes.h b/src/wrapped/generated/wrappedlibxcbutiltypes.h new file mode 100644 index 00000000..6901749f --- /dev/null +++ b/src/wrapped/generated/wrappedlibxcbutiltypes.h @@ -0,0 +1,17 @@ +/******************************************************************* + * File automatically generated by rebuild_wrappers.py (v2.1.0.16) * + *******************************************************************/ +#ifndef __wrappedlibxcbutilTYPES_H_ +#define __wrappedlibxcbutilTYPES_H_ + +#ifndef LIBNAME +#error You should only #include this file inside a wrapped*.c file +#endif +#ifndef ADDED_FUNCTIONS +#define ADDED_FUNCTIONS() +#endif + + +#define SUPER() ADDED_FUNCTIONS() + +#endif // __wrappedlibxcbutilTYPES_H_ diff --git a/src/wrapped/generated/wrappedlibxcbutilundefs.h b/src/wrapped/generated/wrappedlibxcbutilundefs.h new file mode 100644 index 00000000..4bc57450 --- /dev/null +++ b/src/wrapped/generated/wrappedlibxcbutilundefs.h @@ -0,0 +1,8 @@ +/******************************************************************* + * File automatically generated by rebuild_wrappers.py (v2.1.0.16) * + *******************************************************************/ +#ifndef __wrappedlibxcbutilUNDEFS_H_ +#define __wrappedlibxcbutilUNDEFS_H_ + + +#endif // __wrappedlibxcbutilUNDEFS_H_ diff --git a/src/wrapped/wrappedlibxcbutil.c b/src/wrapped/wrappedlibxcbutil.c new file mode 100644 index 00000000..b2588589 --- /dev/null +++ b/src/wrapped/wrappedlibxcbutil.c @@ -0,0 +1,23 @@ +#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" + +const char* libxcbutilName = "libxcb-util.so.1"; +#define LIBNAME libxcbutil + +#include "wrappedlib_init.h" diff --git a/src/wrapped/wrappedlibxcbutil_private.h b/src/wrapped/wrappedlibxcbutil_private.h new file mode 100644 index 00000000..a346eb32 --- /dev/null +++ b/src/wrapped/wrappedlibxcbutil_private.h @@ -0,0 +1,30 @@ +#if !(defined(GO) && defined(GOM) && defined(GO2) && defined(DATA)) +#error meh! +#endif + +//GO(xcb_atom_name_by_resource, +//GO(xcb_atom_name_by_screen, +//GO(xcb_atom_name_unique, +//GO(xcb_aux_change_gc, +//GO(xcb_aux_change_gc_checked, +//GO(xcb_aux_change_keyboard_control, +//GO(xcb_aux_change_window_attributes, +//GO(xcb_aux_change_window_attributes_checked, +//GO(xcb_aux_clear_window, +//GO(xcb_aux_configure_window, +//GO(xcb_aux_create_gc, +//GO(xcb_aux_create_gc_checked, +//GO(xcb_aux_create_window, +//GO(xcb_aux_create_window_checked, +//GO(xcb_aux_find_visual_by_attrs, +//GO(xcb_aux_find_visual_by_id, +//GO(xcb_aux_get_depth, +//GO(xcb_aux_get_depth_of_visual, +//GO(xcb_aux_get_screen, +//GO(xcb_aux_get_visualtype, +//GO(xcb_aux_parse_color, +//GO(xcb_aux_set_line_attributes_checked, +//GO(xcb_aux_sync, +//GO(xcb_event_get_error_label, +//GO(xcb_event_get_label, +//GO(xcb_event_get_request_label, |