about summary refs log tree commit diff stats
path: root/src/wrapped
diff options
context:
space:
mode:
authorptitSeb <sebastien.chev@gmail.com>2024-01-18 18:53:19 +0100
committerptitSeb <sebastien.chev@gmail.com>2024-01-18 18:53:19 +0100
commite963d99d5ee85342e320efe1be8fcde39d3f1a32 (patch)
tree326b2b2875a42cd65daed6cf036eebb7183f1847 /src/wrapped
parentbbe188d4f917f2d6ade2454ed1a10c1608a46c06 (diff)
downloadbox64-e963d99d5ee85342e320efe1be8fcde39d3f1a32.tar.gz
box64-e963d99d5ee85342e320efe1be8fcde39d3f1a32.zip
Partial Wrapping of libxkbregistry
Diffstat (limited to 'src/wrapped')
-rw-r--r--src/wrapped/generated/functions_list.txt1
-rw-r--r--src/wrapped/generated/wrappedxkbregistrydefs.h8
-rw-r--r--src/wrapped/generated/wrappedxkbregistrytypes.h17
-rw-r--r--src/wrapped/generated/wrappedxkbregistryundefs.h8
-rw-r--r--src/wrapped/wrappedxkbregistry.c18
-rw-r--r--src/wrapped/wrappedxkbregistry_private.h60
6 files changed, 112 insertions, 0 deletions
diff --git a/src/wrapped/generated/functions_list.txt b/src/wrapped/generated/functions_list.txt
index e7d296e9..305319bb 100644
--- a/src/wrapped/generated/functions_list.txt
+++ b/src/wrapped/generated/functions_list.txt
@@ -5611,6 +5611,7 @@ wrappedwaylandegl:
 wrappedxinerama:
 wrappedxkbcommon:
 wrappedxkbcommonx11:
+wrappedxkbregistry:
 wrappedxml2:
 - vFp:
   - xmlSetExternalEntityLoader
diff --git a/src/wrapped/generated/wrappedxkbregistrydefs.h b/src/wrapped/generated/wrappedxkbregistrydefs.h
new file mode 100644
index 00000000..4159edd6
--- /dev/null
+++ b/src/wrapped/generated/wrappedxkbregistrydefs.h
@@ -0,0 +1,8 @@
+/*******************************************************************
+ * File automatically generated by rebuild_wrappers.py (v2.4.0.20) *
+ *******************************************************************/
+#ifndef __wrappedxkbregistryDEFS_H_
+#define __wrappedxkbregistryDEFS_H_
+
+
+#endif // __wrappedxkbregistryDEFS_H_
diff --git a/src/wrapped/generated/wrappedxkbregistrytypes.h b/src/wrapped/generated/wrappedxkbregistrytypes.h
new file mode 100644
index 00000000..2a1ca3b8
--- /dev/null
+++ b/src/wrapped/generated/wrappedxkbregistrytypes.h
@@ -0,0 +1,17 @@
+/*******************************************************************
+ * File automatically generated by rebuild_wrappers.py (v2.4.0.20) *
+ *******************************************************************/
+#ifndef __wrappedxkbregistryTYPES_H_
+#define __wrappedxkbregistryTYPES_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 // __wrappedxkbregistryTYPES_H_
diff --git a/src/wrapped/generated/wrappedxkbregistryundefs.h b/src/wrapped/generated/wrappedxkbregistryundefs.h
new file mode 100644
index 00000000..5ed70a42
--- /dev/null
+++ b/src/wrapped/generated/wrappedxkbregistryundefs.h
@@ -0,0 +1,8 @@
+/*******************************************************************
+ * File automatically generated by rebuild_wrappers.py (v2.4.0.20) *
+ *******************************************************************/
+#ifndef __wrappedxkbregistryUNDEFS_H_
+#define __wrappedxkbregistryUNDEFS_H_
+
+
+#endif // __wrappedxkbregistryUNDEFS_H_
diff --git a/src/wrapped/wrappedxkbregistry.c b/src/wrapped/wrappedxkbregistry.c
new file mode 100644
index 00000000..437b8a84
--- /dev/null
+++ b/src/wrapped/wrappedxkbregistry.c
@@ -0,0 +1,18 @@
+#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"
+
+const char* xkbregistryName = "libxkbregistry.so.0";
+#define LIBNAME xkbregistry
+
+#include "wrappedlib_init.h"
+
diff --git a/src/wrapped/wrappedxkbregistry_private.h b/src/wrapped/wrappedxkbregistry_private.h
new file mode 100644
index 00000000..9062ad22
--- /dev/null
+++ b/src/wrapped/wrappedxkbregistry_private.h
@@ -0,0 +1,60 @@
+#if !(defined(GO) && defined(GOM) && defined(GO2) && defined(DATA))
+#error meh!
+#endif
+//typedef uint32_t xkb_keycode_t
+
+//GO(rxkb_context_get_log_level, 
+//GO(rxkb_context_get_user_data, 
+//GO(rxkb_context_include_path_append, 
+//GO(rxkb_context_include_path_append_default, 
+GO(rxkb_context_new, pFu)
+//GO(rxkb_context_parse, 
+//GO(rxkb_context_parse_default_ruleset, 
+//GO(rxkb_context_ref, 
+//GO(rxkb_context_set_log_fn, 
+//GO(rxkb_context_set_log_level, 
+//GO(rxkb_context_set_user_data, 
+GO(rxkb_context_unref, pFp)
+//GO(rxkb_iso3166_code_get_code, 
+//GO(rxkb_iso3166_code_next, 
+//GO(rxkb_iso3166_code_ref, 
+//GO(rxkb_iso3166_code_unref, 
+//GO(rxkb_iso639_code_get_code, 
+//GO(rxkb_iso639_code_next, 
+//GO(rxkb_iso639_code_ref, 
+//GO(rxkb_iso639_code_unref, 
+GO(rxkb_layout_first, pFp)
+//GO(rxkb_layout_get_brief, 
+GO(rxkb_layout_get_description, pFp)
+//GO(rxkb_layout_get_iso3166_first, 
+//GO(rxkb_layout_get_iso639_first, 
+GO(rxkb_layout_get_name, pFp)
+//GO(rxkb_layout_get_popularity, 
+GO(rxkb_layout_get_variant, pFp)
+//GO(rxkb_layout_next, 
+//GO(rxkb_layout_ref, 
+//GO(rxkb_layout_unref, 
+//GO(rxkb_model_first, 
+//GO(rxkb_model_get_description, 
+//GO(rxkb_model_get_name, 
+//GO(rxkb_model_get_popularity, 
+//GO(rxkb_model_get_vendor, 
+//GO(rxkb_model_next, 
+//GO(rxkb_model_ref, 
+//GO(rxkb_model_unref, 
+//GO(rxkb_option_first, 
+//GO(rxkb_option_get_brief, 
+//GO(rxkb_option_get_description, 
+//GO(rxkb_option_get_name, 
+//GO(rxkb_option_get_popularity, 
+//GO(rxkb_option_group_allows_multiple, 
+//GO(rxkb_option_group_first, 
+//GO(rxkb_option_group_get_description, 
+//GO(rxkb_option_group_get_name, 
+//GO(rxkb_option_group_get_popularity, 
+//GO(rxkb_option_group_next, 
+//GO(rxkb_option_group_ref, 
+//GO(rxkb_option_group_unref, 
+//GO(rxkb_option_next, 
+//GO(rxkb_option_ref, 
+//GO(rxkb_option_unref,