diff options
| author | LiZhuoheng <114734429+zohanzephyr@users.noreply.github.com> | 2024-06-11 14:02:11 +0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-06-11 08:02:11 +0200 |
| commit | 9ed2e3bbf22f6fe2041b3119fc10a57cfca31406 (patch) | |
| tree | 0eecea1f7297360fd3883b458d5f682989a92343 /src/wrapped | |
| parent | 8b3cd23045d0673abce1f200133de0cb33fb3b4f (diff) | |
| download | box64-9ed2e3bbf22f6fe2041b3119fc10a57cfca31406.tar.gz box64-9ed2e3bbf22f6fe2041b3119fc10a57cfca31406.zip | |
Wrapped libunistring2 (#1577)
Diffstat (limited to 'src/wrapped')
| -rw-r--r-- | src/wrapped/generated/functions_list.txt | 1 | ||||
| -rw-r--r-- | src/wrapped/generated/wrappedlibunistring2defs.h | 8 | ||||
| -rw-r--r-- | src/wrapped/generated/wrappedlibunistring2types.h | 17 | ||||
| -rw-r--r-- | src/wrapped/generated/wrappedlibunistring2undefs.h | 8 | ||||
| -rw-r--r-- | src/wrapped/wrappedlibunistring2.c | 17 | ||||
| -rw-r--r-- | src/wrapped/wrappedlibunistring2_private.h | 6 |
6 files changed, 57 insertions, 0 deletions
diff --git a/src/wrapped/generated/functions_list.txt b/src/wrapped/generated/functions_list.txt index a185ec75..14b843f0 100644 --- a/src/wrapped/generated/functions_list.txt +++ b/src/wrapped/generated/functions_list.txt @@ -4786,6 +4786,7 @@ wrappedlibtinfo: wrappedlibtinfo6: - iFpip: - tputs +wrappedlibunistring2: wrappedlibusb1: - iFp: - libusb_cancel_transfer diff --git a/src/wrapped/generated/wrappedlibunistring2defs.h b/src/wrapped/generated/wrappedlibunistring2defs.h new file mode 100644 index 00000000..52044144 --- /dev/null +++ b/src/wrapped/generated/wrappedlibunistring2defs.h @@ -0,0 +1,8 @@ +/******************************************************************* + * File automatically generated by rebuild_wrappers.py (v2.4.0.21) * + *******************************************************************/ +#ifndef __wrappedlibunistring2DEFS_H_ +#define __wrappedlibunistring2DEFS_H_ + + +#endif // __wrappedlibunistring2DEFS_H_ diff --git a/src/wrapped/generated/wrappedlibunistring2types.h b/src/wrapped/generated/wrappedlibunistring2types.h new file mode 100644 index 00000000..25a30d9e --- /dev/null +++ b/src/wrapped/generated/wrappedlibunistring2types.h @@ -0,0 +1,17 @@ +/******************************************************************* + * File automatically generated by rebuild_wrappers.py (v2.4.0.21) * + *******************************************************************/ +#ifndef __wrappedlibunistring2TYPES_H_ +#define __wrappedlibunistring2TYPES_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 // __wrappedlibunistring2TYPES_H_ diff --git a/src/wrapped/generated/wrappedlibunistring2undefs.h b/src/wrapped/generated/wrappedlibunistring2undefs.h new file mode 100644 index 00000000..88de83f1 --- /dev/null +++ b/src/wrapped/generated/wrappedlibunistring2undefs.h @@ -0,0 +1,8 @@ +/******************************************************************* + * File automatically generated by rebuild_wrappers.py (v2.4.0.21) * + *******************************************************************/ +#ifndef __wrappedlibunistring2UNDEFS_H_ +#define __wrappedlibunistring2UNDEFS_H_ + + +#endif // __wrappedlibunistring2UNDEFS_H_ diff --git a/src/wrapped/wrappedlibunistring2.c b/src/wrapped/wrappedlibunistring2.c new file mode 100644 index 00000000..c444d962 --- /dev/null +++ b/src/wrapped/wrappedlibunistring2.c @@ -0,0 +1,17 @@ +#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* libunistring2Name = "libunistring.so.2"; +#define LIBNAME libunistring2 + +#include "wrappedlib_init.h" diff --git a/src/wrapped/wrappedlibunistring2_private.h b/src/wrapped/wrappedlibunistring2_private.h new file mode 100644 index 00000000..e6d6a130 --- /dev/null +++ b/src/wrapped/wrappedlibunistring2_private.h @@ -0,0 +1,6 @@ +#if !(defined(GO) && defined(GOM) && defined(GO2) && defined(DATA)) +error Meh... +#endif + +GO(uninorm_nfc, pFpipp) +GO(uninorm_nfkc, pFpipp) |