about summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorptitSeb <sebastien.chev@gmail.com>2024-05-17 14:46:22 +0200
committerptitSeb <sebastien.chev@gmail.com>2024-05-17 14:46:22 +0200
commit4d7e106088d439fc2fafd5a2b198a88d0f1e1771 (patch)
tree4efa92722c9e34af55d24474288feb430423ee02
parentd7127ccc3dad1aab55676f31d26d5ec3799ca8f1 (diff)
downloadbox64-4d7e106088d439fc2fafd5a2b198a88d0f1e1771.tar.gz
box64-4d7e106088d439fc2fafd5a2b198a88d0f1e1771.zip
Added empty wrapped libdecor-0.so.0
-rw-r--r--CMakeLists.txt1
-rw-r--r--src/library_list.h1
-rw-r--r--src/wrapped/generated/functions_list.txt1
-rw-r--r--src/wrapped/generated/wrappeddecor0defs.h8
-rw-r--r--src/wrapped/generated/wrappeddecor0types.h17
-rw-r--r--src/wrapped/generated/wrappeddecor0undefs.h8
-rw-r--r--src/wrapped/wrappeddecor0.c30
-rw-r--r--src/wrapped/wrappeddecor0_private.h60
8 files changed, 126 insertions, 0 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 9d2493d3..2fb55a4d 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -457,6 +457,7 @@ set(WRAPPEDS
     "${BOX64_ROOT}/src/wrapped/wrappeddbus.c"
     "${BOX64_ROOT}/src/wrapped/wrappeddbusglib1.c"
     "${BOX64_ROOT}/src/wrapped/wrappeddbusmenuglib.c"
+    "${BOX64_ROOT}/src/wrapped/wrappeddecor0.c"
     "${BOX64_ROOT}/src/wrapped/wrappedevent21.c"
     "${BOX64_ROOT}/src/wrapped/wrappedexpat.c"
     "${BOX64_ROOT}/src/wrapped/wrappedfaudio.c"
diff --git a/src/library_list.h b/src/library_list.h
index a2049ea6..8cbce75b 100644
--- a/src/library_list.h
+++ b/src/library_list.h
@@ -105,6 +105,7 @@ GO("libudev.so.0", udev0)
 GO("libudev.so.1", udev1)
 GO("libudev.so", udev1)
 GO("libdbus-1.so.3", dbus)
+GO("libdecor-0.so.0", decor0)
 //GO("libiconv.so.2", iconv)
 GO("libdrm.so.2", libdrm)
 GO("libexpat.so.1", expat)
diff --git a/src/wrapped/generated/functions_list.txt b/src/wrapped/generated/functions_list.txt
index 74b55489..7fa6270b 100644
--- a/src/wrapped/generated/functions_list.txt
+++ b/src/wrapped/generated/functions_list.txt
@@ -3262,6 +3262,7 @@ wrappeddbusmenuglib:
   - dbusmenu_menuitem_send_about_to_show
 - iFppp:
   - dbusmenu_client_add_type_handler
+wrappeddecor0:
 wrappedevent21:
 - vFpiwpp:
   - event_set
diff --git a/src/wrapped/generated/wrappeddecor0defs.h b/src/wrapped/generated/wrappeddecor0defs.h
new file mode 100644
index 00000000..3f8696fd
--- /dev/null
+++ b/src/wrapped/generated/wrappeddecor0defs.h
@@ -0,0 +1,8 @@
+/*******************************************************************
+ * File automatically generated by rebuild_wrappers.py (v2.4.0.21) *
+ *******************************************************************/
+#ifndef __wrappeddecor0DEFS_H_
+#define __wrappeddecor0DEFS_H_
+
+
+#endif // __wrappeddecor0DEFS_H_
diff --git a/src/wrapped/generated/wrappeddecor0types.h b/src/wrapped/generated/wrappeddecor0types.h
new file mode 100644
index 00000000..6fa92b9e
--- /dev/null
+++ b/src/wrapped/generated/wrappeddecor0types.h
@@ -0,0 +1,17 @@
+/*******************************************************************
+ * File automatically generated by rebuild_wrappers.py (v2.4.0.21) *
+ *******************************************************************/
+#ifndef __wrappeddecor0TYPES_H_
+#define __wrappeddecor0TYPES_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 // __wrappeddecor0TYPES_H_
diff --git a/src/wrapped/generated/wrappeddecor0undefs.h b/src/wrapped/generated/wrappeddecor0undefs.h
new file mode 100644
index 00000000..8d7a76f2
--- /dev/null
+++ b/src/wrapped/generated/wrappeddecor0undefs.h
@@ -0,0 +1,8 @@
+/*******************************************************************
+ * File automatically generated by rebuild_wrappers.py (v2.4.0.21) *
+ *******************************************************************/
+#ifndef __wrappeddecor0UNDEFS_H_
+#define __wrappeddecor0UNDEFS_H_
+
+
+#endif // __wrappeddecor0UNDEFS_H_
diff --git a/src/wrapped/wrappeddecor0.c b/src/wrapped/wrappeddecor0.c
new file mode 100644
index 00000000..f19dfcd7
--- /dev/null
+++ b/src/wrapped/wrappeddecor0.c
@@ -0,0 +1,30 @@
+#define _GNU_SOURCE         /* See feature_test_macros(7) */
+#include <stdio.h>
+#include <stdlib.h>
+#include <string.h>
+#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"
+#include "myalign.h"
+
+const char* decor0Name = "libdecor-0.so.0";
+#define LIBNAME decor0
+
+#define ADDED_FUNCTIONS()                   \
+
+#include "generated/wrappeddecor0types.h"
+
+#include "wrappercallback.h"
+
+#include "wrappedlib_init.h"
diff --git a/src/wrapped/wrappeddecor0_private.h b/src/wrapped/wrappeddecor0_private.h
new file mode 100644
index 00000000..517d1f47
--- /dev/null
+++ b/src/wrapped/wrappeddecor0_private.h
@@ -0,0 +1,60 @@
+#if !(defined(GO) && defined(GOM) && defined(GO2) && defined(DATA))
+#error Meh....
+#endif
+
+//GO(libdecor_configuration_get_content_size, 
+//GO(libdecor_configuration_get_window_state, 
+//GO(libdecor_decorate, 
+//GO(libdecor_dispatch, 
+//GO(libdecor_frame_close, 
+//GO(libdecor_frame_commit, 
+//GO(libdecor_frame_dismiss_popup, 
+//GO(libdecor_frame_get_capabilities, 
+//GO(libdecor_frame_get_content_height, 
+//GO(libdecor_frame_get_content_width, 
+//GO(libdecor_frame_get_max_content_size, 
+//GO(libdecor_frame_get_min_content_size, 
+//GO(libdecor_frame_get_title, 
+//GO(libdecor_frame_get_window_state, 
+//GO(libdecor_frame_get_wl_surface, 
+//GO(libdecor_frame_get_xdg_surface, 
+//GO(libdecor_frame_get_xdg_toplevel, 
+//GO(libdecor_frame_has_capability, 
+//GO(libdecor_frame_is_floating, 
+//GO(libdecor_frame_is_visible, 
+//GO(libdecor_frame_map, 
+//GO(libdecor_frame_move, 
+//GO(libdecor_frame_popup_grab, 
+//GO(libdecor_frame_popup_ungrab, 
+//GO(libdecor_frame_ref, 
+//GO(libdecor_frame_resize, 
+//GO(libdecor_frame_set_app_id, 
+//GO(libdecor_frame_set_capabilities, 
+//GO(libdecor_frame_set_fullscreen, 
+//GO(libdecor_frame_set_max_content_size, 
+//GO(libdecor_frame_set_maximized, 
+//GO(libdecor_frame_set_min_content_size, 
+//GO(libdecor_frame_set_minimized, 
+//GO(libdecor_frame_set_parent, 
+//GO(libdecor_frame_set_title, 
+//GO(libdecor_frame_set_visibility, 
+//GO(libdecor_frame_show_window_menu, 
+//GO(libdecor_frame_toplevel_commit, 
+//GO(libdecor_frame_translate_coordinate, 
+//GO(libdecor_frame_unref, 
+//GO(libdecor_frame_unset_capabilities, 
+//GO(libdecor_frame_unset_fullscreen, 
+//GO(libdecor_frame_unset_maximized, 
+//GO(libdecor_get_fd, 
+//GO(libdecor_get_wl_display, 
+//GO(libdecor_new, 
+//GO(libdecor_notify_plugin_error, 
+//GO(libdecor_notify_plugin_ready, 
+//GO(libdecor_plugin_init, 
+//GO(libdecor_plugin_release, 
+//GO(libdecor_state_free, 
+//GO(libdecor_state_get_content_height, 
+//GO(libdecor_state_get_content_width, 
+//GO(libdecor_state_get_window_state, 
+//GO(libdecor_state_new, 
+//GO(libdecor_unref,