diff options
| author | ptitSeb <sebastien.chev@gmail.com> | 2024-01-05 17:05:21 +0100 |
|---|---|---|
| committer | ptitSeb <sebastien.chev@gmail.com> | 2024-01-05 17:05:21 +0100 |
| commit | a891e1f85da252aa609458ecdc4d71fe6d147189 (patch) | |
| tree | 18b72ab684551a6f7d8dc75e6c59317e4db65846 /src | |
| parent | ade0aa770aabe99f5f54b228208059818ae08a89 (diff) | |
| download | box64-a891e1f85da252aa609458ecdc4d71fe6d147189.tar.gz box64-a891e1f85da252aa609458ecdc4d71fe6d147189.zip | |
Added wrapped libicuuc and libicui18n v74
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/wrappedicui18n74defs.h | 8 | ||||
| -rw-r--r-- | src/wrapped/generated/wrappedicui18n74types.h | 17 | ||||
| -rw-r--r-- | src/wrapped/generated/wrappedicui18n74undefs.h | 8 | ||||
| -rw-r--r-- | src/wrapped/generated/wrappedicuuc74defs.h | 8 | ||||
| -rw-r--r-- | src/wrapped/generated/wrappedicuuc74types.h | 17 | ||||
| -rw-r--r-- | src/wrapped/generated/wrappedicuuc74undefs.h | 8 | ||||
| -rw-r--r-- | src/wrapped/wrappedicui18n74.c | 29 | ||||
| -rw-r--r-- | src/wrapped/wrappedicui18n74_private.h | 103 | ||||
| -rw-r--r-- | src/wrapped/wrappedicuuc74.c | 28 | ||||
| -rw-r--r-- | src/wrapped/wrappedicuuc74_private.h | 86 |
12 files changed, 316 insertions, 0 deletions
diff --git a/src/library_list.h b/src/library_list.h index a5df8b46..dfbf9257 100644 --- a/src/library_list.h +++ b/src/library_list.h @@ -239,6 +239,8 @@ GO("libicuuc.so.67", icuuc67) GO("libicui18n.so.67", icui18n67) GO("libicuuc.so.72", icuuc72) GO("libicui18n.so.72", icui18n72) +GO("libicuuc.so.74", icuuc74) +GO("libicui18n.so.74", icui18n74) GO("libidn2.so.0", idn2) #ifdef ANDROID diff --git a/src/wrapped/generated/functions_list.txt b/src/wrapped/generated/functions_list.txt index 29a30803..9c71b2aa 100644 --- a/src/wrapped/generated/functions_list.txt +++ b/src/wrapped/generated/functions_list.txt @@ -3945,9 +3945,11 @@ wrappedgtkx112: wrappedicui18n66: wrappedicui18n67: wrappedicui18n72: +wrappedicui18n74: wrappedicuuc66: wrappedicuuc67: wrappedicuuc72: +wrappedicuuc74: wrappedidn2: wrappedkrb5: - iFppppppipp: diff --git a/src/wrapped/generated/wrappedicui18n74defs.h b/src/wrapped/generated/wrappedicui18n74defs.h new file mode 100644 index 00000000..0bd211ff --- /dev/null +++ b/src/wrapped/generated/wrappedicui18n74defs.h @@ -0,0 +1,8 @@ +/******************************************************************* + * File automatically generated by rebuild_wrappers.py (v2.4.0.20) * + *******************************************************************/ +#ifndef __wrappedicui18n74DEFS_H_ +#define __wrappedicui18n74DEFS_H_ + + +#endif // __wrappedicui18n74DEFS_H_ diff --git a/src/wrapped/generated/wrappedicui18n74types.h b/src/wrapped/generated/wrappedicui18n74types.h new file mode 100644 index 00000000..9ce065bd --- /dev/null +++ b/src/wrapped/generated/wrappedicui18n74types.h @@ -0,0 +1,17 @@ +/******************************************************************* + * File automatically generated by rebuild_wrappers.py (v2.4.0.20) * + *******************************************************************/ +#ifndef __wrappedicui18n74TYPES_H_ +#define __wrappedicui18n74TYPES_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 // __wrappedicui18n74TYPES_H_ diff --git a/src/wrapped/generated/wrappedicui18n74undefs.h b/src/wrapped/generated/wrappedicui18n74undefs.h new file mode 100644 index 00000000..a7ad6bea --- /dev/null +++ b/src/wrapped/generated/wrappedicui18n74undefs.h @@ -0,0 +1,8 @@ +/******************************************************************* + * File automatically generated by rebuild_wrappers.py (v2.4.0.20) * + *******************************************************************/ +#ifndef __wrappedicui18n74UNDEFS_H_ +#define __wrappedicui18n74UNDEFS_H_ + + +#endif // __wrappedicui18n74UNDEFS_H_ diff --git a/src/wrapped/generated/wrappedicuuc74defs.h b/src/wrapped/generated/wrappedicuuc74defs.h new file mode 100644 index 00000000..f855aef1 --- /dev/null +++ b/src/wrapped/generated/wrappedicuuc74defs.h @@ -0,0 +1,8 @@ +/******************************************************************* + * File automatically generated by rebuild_wrappers.py (v2.4.0.20) * + *******************************************************************/ +#ifndef __wrappedicuuc74DEFS_H_ +#define __wrappedicuuc74DEFS_H_ + + +#endif // __wrappedicuuc74DEFS_H_ diff --git a/src/wrapped/generated/wrappedicuuc74types.h b/src/wrapped/generated/wrappedicuuc74types.h new file mode 100644 index 00000000..d82afbe1 --- /dev/null +++ b/src/wrapped/generated/wrappedicuuc74types.h @@ -0,0 +1,17 @@ +/******************************************************************* + * File automatically generated by rebuild_wrappers.py (v2.4.0.20) * + *******************************************************************/ +#ifndef __wrappedicuuc74TYPES_H_ +#define __wrappedicuuc74TYPES_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 // __wrappedicuuc74TYPES_H_ diff --git a/src/wrapped/generated/wrappedicuuc74undefs.h b/src/wrapped/generated/wrappedicuuc74undefs.h new file mode 100644 index 00000000..7dab03ba --- /dev/null +++ b/src/wrapped/generated/wrappedicuuc74undefs.h @@ -0,0 +1,8 @@ +/******************************************************************* + * File automatically generated by rebuild_wrappers.py (v2.4.0.20) * + *******************************************************************/ +#ifndef __wrappedicuuc74UNDEFS_H_ +#define __wrappedicuuc74UNDEFS_H_ + + +#endif // __wrappedicuuc74UNDEFS_H_ diff --git a/src/wrapped/wrappedicui18n74.c b/src/wrapped/wrappedicui18n74.c new file mode 100644 index 00000000..4434b556 --- /dev/null +++ b/src/wrapped/wrappedicui18n74.c @@ -0,0 +1,29 @@ +#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* icui18n74Name = "libicui18n.so.74"; +#define LIBNAME icui18n74 + +#define CUSTOM_INIT \ + SETALT(my74_); \ + setNeededLibs(lib, 1, "libicuuc.so.74"); + +#include "wrappedlib_init.h" + diff --git a/src/wrapped/wrappedicui18n74_private.h b/src/wrapped/wrappedicui18n74_private.h new file mode 100644 index 00000000..fb486186 --- /dev/null +++ b/src/wrapped/wrappedicui18n74_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_74, vFpiip) +GO(ucal_clear_74, vFp) +GO(ucal_clearField_74, vFpi) +GO(ucal_clone_74, pFpp) +GO(ucal_close_74, vFp) +GO(ucal_countAvailable_74, iFv) +GO(ucal_equivalentTo_74, cFpp) +GO(ucal_get_74, iFpip) +GO(ucal_getAttribute_74, iFpi) +GO(ucal_getAvailable_74, pFi) +GO(ucal_getCanonicalTimeZoneID_74, iFpipipp) +GO(ucal_getDayOfWeekType_74, iFpip) +GO(ucal_getDefaultTimeZone_74, iFpip) +GO(ucal_getDSTSavings_74, iFpp) +GO(ucal_getFieldDifference_74, iFpdip) +GO(ucal_getGregorianChange_74, dFpp) +GO(ucal_getHostTimeZone_74, iFpip) +GO(ucal_getKeywordValuesForLocale_74, pFppCp) +GO(ucal_getLimit_74, iFpiip) +GO(ucal_getLocaleByType_74, pFpip) +GO(ucal_getMillis_74, dFpp) +GO(ucal_getNow_74, dFv) +GO(ucal_getTimeZoneDisplayName_74, iFpippip) +GO(ucal_getTimeZoneID_74, iFppip) +GO(ucal_getTimeZoneIDForWindowsID_74, iFpippip) +GO(ucal_getTimeZoneOffsetFromLocal_74, vFpiippp) +GO(ucal_getTimeZoneTransitionDate_74, cFpipp) +GO(ucal_getType_74, pFpp) +GO(ucal_getTZDataVersion_74, pFp) +GO(ucal_getWeekendTransition_74, iFpip) +GO(ucal_getWindowsTimeZoneID_74, iFpipip) +GO(ucal_inDaylightTime_74, cFpp) +GO(ucal_isSet_74, cFpi) +GO(ucal_isWeekend_74, cFpdp) +GO(ucal_open_74, pFpipip) +GO(ucal_openCountryTimeZones_74, pFpp) +GO(ucal_openTimeZoneIDEnumeration_74, pFippp) +GO(ucal_openTimeZones_74, pFp) +GO(ucal_roll_74, vFpiip) +GO(ucal_set_74, vFpii) +GO(ucal_setAttribute_74, vFpii) +GO(ucal_setDate_74, vFpiiip) +GO(ucal_setDateTime_74, vFpiiiiiip) +GO(ucal_setDefaultTimeZone_74, vFpp) +GO(ucal_setGregorianChange_74, vFpdp) +GO(ucal_setMillis_74, vFpdp) +GO(ucal_setTimeZone_74, vFppip) + +GO(ucol_clone_74, pFpp) +GO(ucol_close_74, vFp) +GO(ucol_closeElements_74, vFp) +GO(ucol_setMaxVariable_74, vFpip) +GO(ucol_getOffset_74, iFp) +GO(ucol_getRules_74, pFpp) +GO(ucol_getSortKey_74, iFppipi) +GO(ucol_getStrength_74, iFp) +GO(ucol_getVersion_74, vFpp) +GO(ucol_next_74, iFpp) +GO(ucol_previous_74, iFpp) +GO(ucol_open_74, pFpp) +GO(ucol_openElements_74, pFppip) +GO(ucol_openRules_74, pFpiiipp) +GO(ucol_safeClone_74, pFpppp) +GO(ucol_setAttribute_74, vFpiip) +GO(ucol_setVariableTop_74, uFppip) +GO(ucol_strcoll_74, iFppipi) + +GO(udat_close_74, vFp) +GO(udat_countSymbols_74, iFpi) +GO(udat_getSymbols_74, iFpiipip) +GO(udat_format_74, iFpdpipp) +GO(udat_open_74, pFiippipip) +GO(udat_setCalendar_74, vFpp) +GO(udat_toPattern_74, iFpCpip) + +GO(unum_close_74, vFp) +GO(unum_getAttribute_74, iFpi) +GO(unum_getSymbol_74, iFpipip) +GO(unum_open_74, pFipippp) +GO(unum_toPattern_74, iFpCpip) + +GO(udatpg_close_74, vFp) +GO(udatpg_getBestPattern_74, iFppipip) +GO(udatpg_open_74, pFpp) + +GO(ulocdata_getCLDRVersion_74, vFpp) +GO(ulocdata_getMeasurementSystem_74, iFpp) + +GO(usearch_close_74, vFp) +GO(usearch_first_74, iFpp) +GO(usearch_getBreakIterator_74, pFp) +GO(usearch_getMatchedLength_74, iFp) +GO(usearch_last_74, iFpp) +GO(usearch_openFromCollator_74, pFpipippp) +GO(usearch_setPattern_74, vFppip) +GO(usearch_setText_74, vFppip) diff --git a/src/wrapped/wrappedicuuc74.c b/src/wrapped/wrappedicuuc74.c new file mode 100644 index 00000000..8b5fdb1a --- /dev/null +++ b/src/wrapped/wrappedicuuc74.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* icuuc74Name = "libicuuc.so.74"; +#define LIBNAME icuuc74 + +#define CUSTOM_INIT \ + SETALT(my74_); \ + +#include "wrappedlib_init.h" + diff --git a/src/wrapped/wrappedicuuc74_private.h b/src/wrapped/wrappedicuuc74_private.h new file mode 100644 index 00000000..8ee226ca --- /dev/null +++ b/src/wrapped/wrappedicuuc74_private.h @@ -0,0 +1,86 @@ +#if !(defined(GO) && defined(GOM) && defined(GO2) && defined(DATA)) +#error meh! +#endif + +GO(ubrk_clone_74, pFpp) +GO(ubrk_close_74, vFp) +GO(ubrk_countAvailable_74, iFv) +GO(ubrk_current_74, iFp) +GO(ubrk_first_74, iFp) +GO(ubrk_following_74, iFpi) +GO(ubrk_getAvailable_74, pFi) +GO(ubrk_getBinaryRules_74, iFppip) +GO(ubrk_getLocaleByType_74, pFpip) +GO(ubrk_getRuleStatus_74, iFp) +GO(ubrk_getRuleStatusVec_74, iFppip) +GO(ubrk_isBoundary_74, cFpi) +GO(ubrk_last_74, iFp) +GO(ubrk_next_74, iFp) +GO(ubrk_open_74, pFppip) +GO(ubrk_openBinaryRules_74, pFpipip) +GO(ubrk_openRules_74, pFpipipp) +GO(ubrk_preceding_74, iFpi) +GO(ubrk_previous_74, iFp) +GO(ubrk_refreshUText_74, vFppp) +GO(ubrk_safeClone_74, pFpppp) +GO(ubrk_setText_74, vFppip) +GO(ubrk_setUText_74, vFppp) +GO(ubrk_swap_74, iFppipp) + +GO(ucurr_forLocale_74, iFppip) +GO(ucurr_getName_74, pFppippp) + +GO(uloc_canonicalize_74, iFppip) +GO(uloc_countAvailable_74, iFv) +GO(uloc_getAvailable_74, pFi) +GO(uloc_getBaseName_74, iFppip) +GO(uloc_getCharacterOrientation_74, iFpp) +GO(uloc_getCountry_74, iFppip) +GO(uloc_getDefault_74, pFv) +GO(uloc_getDisplayCountry_74, iFpppip) +GO(uloc_getDisplayLanguage_74, iFpppip) +GO(uloc_getDisplayName_74, iFpppip) +GO(uloc_getISO3Country_74, pFp) +GO(uloc_getISO3Language_74, pFp) +GO(uloc_getKeywordValue_74, iFpppip) +GO(uloc_getLanguage_74, iFppip) +GO(uloc_getLCID_74, uFp) +GO(uloc_getName_74, iFppip) +GO(uloc_getParent_74, iFppip) +GO(uloc_setKeywordValue_74, iFpppip) + +GO(ures_close_74, vFp) +GO(ures_getByKey_74, pFpppp) +GO(ures_getSize_74, iFp) +GO(ures_getStringByIndex_74, pFpipp) +GO(ures_open_74, pFppp) + +GO(uldn_close_74, vFp) +GO(uldn_keyValueDisplayName_74, iFppppip) +GO(uldn_open_74, pFpip) + +GO(uenum_close_74, vFp) +GO(uenum_count_74, iFpp) +GO(uenum_next_74, pFppp) + +GO(uidna_close_74, vFp) +GO(uidna_nameToASCII_74, iFppipipp) +GO(uidna_nameToUnicode_74, iFppipipp) +GO(uidna_openUTS46_74, pFpp) + +GO(unorm2_getNFCInstance_74, pFp) +GO(unorm2_getNFDInstance_74, pFp) +GO(unorm2_getNFKCInstance_74, pFp) +GO(unorm2_getNFKDInstance_74, pFp) +GO(unorm2_isNormalized_74, CFppip) +GO(unorm2_normalize_74, iFppipip) + +GO(u_charsToUChars_74, vFppi) +GO(u_getVersion_74, vFp) +GO(u_strcmp_74, iFpp) +GO(u_strcpy_74, pFpp) +GO(u_strlen_74, iFp) +GO(u_strncpy_74, pFppi) +GO(u_tolower_74, uFu) +GO(u_toupper_74, uFu) +GO(u_uastrncpy_74, pFppi) |