diff options
| author | Yang Liu <liuyang22@iscas.ac.cn> | 2024-10-12 03:27:17 +0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-10-11 21:27:17 +0200 |
| commit | 2a4ecc1d28193bb21d9301610645040947520b73 (patch) | |
| tree | 889700d367442e11bd0d1abde169320430365fc4 /src | |
| parent | c0c91678babff1b4916aa074cf31663fcba8b46c (diff) | |
| download | box64-2a4ecc1d28193bb21d9301610645040947520b73.tar.gz box64-2a4ecc1d28193bb21d9301610645040947520b73.zip | |
[RV64_DYNAREC] Wrapped icuuc75 (#1926)
Diffstat (limited to 'src')
| -rw-r--r-- | src/library_list.h | 2 | ||||
| -rw-r--r-- | src/wrapped/generated/functions_list.txt | 2 | ||||
| -rw-r--r-- | src/wrapped/generated/wrappedicui18n75defs.h | 8 | ||||
| -rw-r--r-- | src/wrapped/generated/wrappedicui18n75types.h | 17 | ||||
| -rw-r--r-- | src/wrapped/generated/wrappedicui18n75undefs.h | 8 | ||||
| -rw-r--r-- | src/wrapped/generated/wrappedicuuc75defs.h | 8 | ||||
| -rw-r--r-- | src/wrapped/generated/wrappedicuuc75types.h | 17 | ||||
| -rw-r--r-- | src/wrapped/generated/wrappedicuuc75undefs.h | 8 | ||||
| -rw-r--r-- | src/wrapped/wrappedicui18n75.c | 28 | ||||
| -rw-r--r-- | src/wrapped/wrappedicui18n75_private.h | 103 | ||||
| -rw-r--r-- | src/wrapped/wrappedicuuc75.c | 26 | ||||
| -rw-r--r-- | src/wrapped/wrappedicuuc75_private.h | 92 |
12 files changed, 319 insertions, 0 deletions
diff --git a/src/library_list.h b/src/library_list.h index a7cbecab..4ee4745e 100644 --- a/src/library_list.h +++ b/src/library_list.h @@ -251,7 +251,9 @@ GO("libicui18n.so.72", icui18n72) GO("libicuuc.so.73", icuuc73) GO("libicui18n.so.73", icui18n73) GO("libicuuc.so.74", icuuc74) +GO("libicuuc.so.75", icuuc75) GO("libicui18n.so.74", icui18n74) +GO("libicui18n.so.75", icui18n75) GO("libidn2.so.0", idn2) GO("libpam.so.0", pam) GO("libanl.so.1", anl) diff --git a/src/wrapped/generated/functions_list.txt b/src/wrapped/generated/functions_list.txt index 6b7cf3f9..d13b148c 100644 --- a/src/wrapped/generated/functions_list.txt +++ b/src/wrapped/generated/functions_list.txt @@ -4161,12 +4161,14 @@ wrappedicui18n67: wrappedicui18n72: wrappedicui18n73: wrappedicui18n74: +wrappedicui18n75: wrappedicuuc64: wrappedicuuc66: wrappedicuuc67: wrappedicuuc72: wrappedicuuc73: wrappedicuuc74: +wrappedicuuc75: wrappedidn2: wrappedkrb5: - iFppppppipp: diff --git a/src/wrapped/generated/wrappedicui18n75defs.h b/src/wrapped/generated/wrappedicui18n75defs.h new file mode 100644 index 00000000..3d4d206d --- /dev/null +++ b/src/wrapped/generated/wrappedicui18n75defs.h @@ -0,0 +1,8 @@ +/******************************************************************* + * File automatically generated by rebuild_wrappers.py (v2.5.0.24) * + *******************************************************************/ +#ifndef __wrappedicui18n75DEFS_H_ +#define __wrappedicui18n75DEFS_H_ + + +#endif // __wrappedicui18n75DEFS_H_ diff --git a/src/wrapped/generated/wrappedicui18n75types.h b/src/wrapped/generated/wrappedicui18n75types.h new file mode 100644 index 00000000..433404f3 --- /dev/null +++ b/src/wrapped/generated/wrappedicui18n75types.h @@ -0,0 +1,17 @@ +/******************************************************************* + * File automatically generated by rebuild_wrappers.py (v2.5.0.24) * + *******************************************************************/ +#ifndef __wrappedicui18n75TYPES_H_ +#define __wrappedicui18n75TYPES_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 // __wrappedicui18n75TYPES_H_ diff --git a/src/wrapped/generated/wrappedicui18n75undefs.h b/src/wrapped/generated/wrappedicui18n75undefs.h new file mode 100644 index 00000000..5830e855 --- /dev/null +++ b/src/wrapped/generated/wrappedicui18n75undefs.h @@ -0,0 +1,8 @@ +/******************************************************************* + * File automatically generated by rebuild_wrappers.py (v2.5.0.24) * + *******************************************************************/ +#ifndef __wrappedicui18n75UNDEFS_H_ +#define __wrappedicui18n75UNDEFS_H_ + + +#endif // __wrappedicui18n75UNDEFS_H_ diff --git a/src/wrapped/generated/wrappedicuuc75defs.h b/src/wrapped/generated/wrappedicuuc75defs.h new file mode 100644 index 00000000..31f87d07 --- /dev/null +++ b/src/wrapped/generated/wrappedicuuc75defs.h @@ -0,0 +1,8 @@ +/******************************************************************* + * File automatically generated by rebuild_wrappers.py (v2.5.0.24) * + *******************************************************************/ +#ifndef __wrappedicuuc75DEFS_H_ +#define __wrappedicuuc75DEFS_H_ + + +#endif // __wrappedicuuc75DEFS_H_ diff --git a/src/wrapped/generated/wrappedicuuc75types.h b/src/wrapped/generated/wrappedicuuc75types.h new file mode 100644 index 00000000..12ff538c --- /dev/null +++ b/src/wrapped/generated/wrappedicuuc75types.h @@ -0,0 +1,17 @@ +/******************************************************************* + * File automatically generated by rebuild_wrappers.py (v2.5.0.24) * + *******************************************************************/ +#ifndef __wrappedicuuc75TYPES_H_ +#define __wrappedicuuc75TYPES_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 // __wrappedicuuc75TYPES_H_ diff --git a/src/wrapped/generated/wrappedicuuc75undefs.h b/src/wrapped/generated/wrappedicuuc75undefs.h new file mode 100644 index 00000000..65935f2f --- /dev/null +++ b/src/wrapped/generated/wrappedicuuc75undefs.h @@ -0,0 +1,8 @@ +/******************************************************************* + * File automatically generated by rebuild_wrappers.py (v2.5.0.24) * + *******************************************************************/ +#ifndef __wrappedicuuc75UNDEFS_H_ +#define __wrappedicuuc75UNDEFS_H_ + + +#endif // __wrappedicuuc75UNDEFS_H_ diff --git a/src/wrapped/wrappedicui18n75.c b/src/wrapped/wrappedicui18n75.c new file mode 100644 index 00000000..61a345f8 --- /dev/null +++ b/src/wrapped/wrappedicui18n75.c @@ -0,0 +1,28 @@ +#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" +#include "myalign.h" + +const char* icui18n75Name = "libicui18n.so.75"; +#define LIBNAME icui18n75 + +#define ALTMY my74_ + +#define NEEDED_LIBS "libicuuc.so.75" + +#include "wrappedlib_init.h" diff --git a/src/wrapped/wrappedicui18n75_private.h b/src/wrapped/wrappedicui18n75_private.h new file mode 100644 index 00000000..7c597e66 --- /dev/null +++ b/src/wrapped/wrappedicui18n75_private.h @@ -0,0 +1,103 @@ +#if !(defined(GO) && defined(GOM) && defined(GO2) && defined(DATA)) +#error meh! +#endif + +// UDate is double +// UBool is int8_t + +GO(ucal_add_75, vFpiip) +GO(ucal_clear_75, vFp) +GO(ucal_clearField_75, vFpi) +GO(ucal_clone_75, pFpp) +GO(ucal_close_75, vFp) +GO(ucal_countAvailable_75, iFv) +GO(ucal_equivalentTo_75, cFpp) +GO(ucal_get_75, iFpip) +GO(ucal_getAttribute_75, iFpi) +GO(ucal_getAvailable_75, pFi) +GO(ucal_getCanonicalTimeZoneID_75, iFpipipp) +GO(ucal_getDayOfWeekType_75, iFpip) +GO(ucal_getDefaultTimeZone_75, iFpip) +GO(ucal_getDSTSavings_75, iFpp) +GO(ucal_getFieldDifference_75, iFpdip) +GO(ucal_getGregorianChange_75, dFpp) +GO(ucal_getHostTimeZone_75, iFpip) +GO(ucal_getKeywordValuesForLocale_75, pFppCp) +GO(ucal_getLimit_75, iFpiip) +GO(ucal_getLocaleByType_75, pFpip) +GO(ucal_getMillis_75, dFpp) +GO(ucal_getNow_75, dFv) +GO(ucal_getTimeZoneDisplayName_75, iFpippip) +GO(ucal_getTimeZoneID_75, iFppip) +GO(ucal_getTimeZoneIDForWindowsID_75, iFpippip) +GO(ucal_getTimeZoneOffsetFromLocal_75, vFpiippp) +GO(ucal_getTimeZoneTransitionDate_75, cFpipp) +GO(ucal_getType_75, pFpp) +GO(ucal_getTZDataVersion_75, pFp) +GO(ucal_getWeekendTransition_75, iFpip) +GO(ucal_getWindowsTimeZoneID_75, iFpipip) +GO(ucal_inDaylightTime_75, cFpp) +GO(ucal_isSet_75, cFpi) +GO(ucal_isWeekend_75, cFpdp) +GO(ucal_open_75, pFpipip) +GO(ucal_openCountryTimeZones_75, pFpp) +GO(ucal_openTimeZoneIDEnumeration_75, pFippp) +GO(ucal_openTimeZones_75, pFp) +GO(ucal_roll_75, vFpiip) +GO(ucal_set_75, vFpii) +GO(ucal_setAttribute_75, vFpii) +GO(ucal_setDate_75, vFpiiip) +GO(ucal_setDateTime_75, vFpiiiiiip) +GO(ucal_setDefaultTimeZone_75, vFpp) +GO(ucal_setGregorianChange_75, vFpdp) +GO(ucal_setMillis_75, vFpdp) +GO(ucal_setTimeZone_75, vFppip) + +GO(ucol_clone_75, pFpp) +GO(ucol_close_75, vFp) +GO(ucol_closeElements_75, vFp) +GO(ucol_setMaxVariable_75, vFpip) +GO(ucol_getOffset_75, iFp) +GO(ucol_getRules_75, pFpp) +GO(ucol_getSortKey_75, iFppipi) +GO(ucol_getStrength_75, iFp) +GO(ucol_getVersion_75, vFpp) +GO(ucol_next_75, iFpp) +GO(ucol_previous_75, iFpp) +GO(ucol_open_75, pFpp) +GO(ucol_openElements_75, pFppip) +GO(ucol_openRules_75, pFpiiipp) +GO(ucol_safeClone_75, pFpppp) +GO(ucol_setAttribute_75, vFpiip) +GO(ucol_setVariableTop_75, uFppip) +GO(ucol_strcoll_75, iFppipi) + +GO(udat_close_75, vFp) +GO(udat_countSymbols_75, iFpi) +GO(udat_getSymbols_75, iFpiipip) +GO(udat_format_75, iFpdpipp) +GO(udat_open_75, pFiippipip) +GO(udat_setCalendar_75, vFpp) +GO(udat_toPattern_75, iFpCpip) + +GO(unum_close_75, vFp) +GO(unum_getAttribute_75, iFpi) +GO(unum_getSymbol_75, iFpipip) +GO(unum_open_75, pFipippp) +GO(unum_toPattern_75, iFpCpip) + +GO(udatpg_close_75, vFp) +GO(udatpg_getBestPattern_75, iFppipip) +GO(udatpg_open_75, pFpp) + +GO(ulocdata_getCLDRVersion_75, vFpp) +GO(ulocdata_getMeasurementSystem_75, iFpp) + +GO(usearch_close_75, vFp) +GO(usearch_first_75, iFpp) +GO(usearch_getBreakIterator_75, pFp) +GO(usearch_getMatchedLength_75, iFp) +GO(usearch_last_75, iFpp) +GO(usearch_openFromCollator_75, pFpipippp) +GO(usearch_setPattern_75, vFppip) +GO(usearch_setText_75, vFppip) diff --git a/src/wrapped/wrappedicuuc75.c b/src/wrapped/wrappedicuuc75.c new file mode 100644 index 00000000..f9511345 --- /dev/null +++ b/src/wrapped/wrappedicuuc75.c @@ -0,0 +1,26 @@ +#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" +#include "myalign.h" + +const char* icuuc75Name = "libicuuc.so.75"; +#define LIBNAME icuuc75 + +#define ALTMY my75_ + +#include "wrappedlib_init.h" diff --git a/src/wrapped/wrappedicuuc75_private.h b/src/wrapped/wrappedicuuc75_private.h new file mode 100644 index 00000000..bd84d18b --- /dev/null +++ b/src/wrapped/wrappedicuuc75_private.h @@ -0,0 +1,92 @@ +#if !(defined(GO) && defined(GOM) && defined(GO2) && defined(DATA)) +#error meh! +#endif + +GO(ubrk_clone_75, pFpp) +GO(ubrk_close_75, vFp) +GO(ubrk_countAvailable_75, iFv) +GO(ubrk_current_75, iFp) +GO(ubrk_first_75, iFp) +GO(ubrk_following_75, iFpi) +GO(ubrk_getAvailable_75, pFi) +GO(ubrk_getBinaryRules_75, iFppip) +GO(ubrk_getLocaleByType_75, pFpip) +GO(ubrk_getRuleStatus_75, iFp) +GO(ubrk_getRuleStatusVec_75, iFppip) +GO(ubrk_isBoundary_75, cFpi) +GO(ubrk_last_75, iFp) +GO(ubrk_next_75, iFp) +GO(ubrk_open_75, pFppip) +GO(ubrk_openBinaryRules_75, pFpipip) +GO(ubrk_openRules_75, pFpipipp) +GO(ubrk_preceding_75, iFpi) +GO(ubrk_previous_75, iFp) +GO(ubrk_refreshUText_75, vFppp) +GO(ubrk_safeClone_75, pFpppp) +GO(ubrk_setText_75, vFppip) +GO(ubrk_setUText_75, vFppp) +GO(ubrk_swap_75, iFppipp) + +GO(ucnv_getDefaultName_75, pFv) +GO(ucnv_open_75, pFpp) +GO(ucnv_setDefaultName_75, vFp) + +GO(ucurr_forLocale_75, iFppip) +GO(ucurr_getName_75, pFppippp) + +GO(uloc_canonicalize_75, iFppip) +GO(uloc_countAvailable_75, iFv) +GO(uloc_getAvailable_75, pFi) +GO(uloc_getBaseName_75, iFppip) +GO(uloc_getCharacterOrientation_75, iFpp) +GO(uloc_getCountry_75, iFppip) +GO(uloc_getDefault_75, pFv) +GO(uloc_getDisplayCountry_75, iFpppip) +GO(uloc_getDisplayLanguage_75, iFpppip) +GO(uloc_getDisplayName_75, iFpppip) +GO(uloc_getISO3Country_75, pFp) +GO(uloc_getISO3Language_75, pFp) +GO(uloc_getKeywordValue_75, iFpppip) +GO(uloc_getLanguage_75, iFppip) +GO(uloc_getLCID_75, uFp) +GO(uloc_getName_75, iFppip) +GO(uloc_getParent_75, iFppip) +GO(uloc_setKeywordValue_75, iFpppip) + +GO(ures_close_75, vFp) +GO(ures_getByKey_75, pFpppp) +GO(ures_getSize_75, iFp) +GO(ures_getStringByIndex_75, pFpipp) +GO(ures_open_75, pFppp) + +GO(uldn_close_75, vFp) +GO(uldn_keyValueDisplayName_75, iFppppip) +GO(uldn_open_75, pFpip) + +GO(uenum_close_75, vFp) +GO(uenum_count_75, iFpp) +GO(uenum_next_75, pFppp) + +GO(uidna_close_75, vFp) +GO(uidna_nameToASCII_75, iFppipipp) +GO(uidna_nameToUnicode_75, iFppipipp) +GO(uidna_openUTS46_75, pFpp) + +GO(unorm2_getNFCInstance_75, pFp) +GO(unorm2_getNFDInstance_75, pFp) +GO(unorm2_getNFKCInstance_75, pFp) +GO(unorm2_getNFKDInstance_75, pFp) +GO(unorm2_isNormalized_75, CFppip) +GO(unorm2_normalize_75, iFppipip) + +GO(u_charsToUChars_75, vFppi) +GO(u_getVersion_75, vFp) +GO(u_strcmp_75, iFpp) +GO(u_strcpy_75, pFpp) +GO(u_strlen_75, iFp) +GO(u_strncpy_75, pFppi) +GO(u_strToLower_75, iFpipipp) +GO(u_strToUpper_75, iFpipipp) +GO(u_tolower_75, uFu) +GO(u_toupper_75, uFu) +GO(u_uastrncpy_75, pFppi) |