diff options
| author | ptitSeb <sebastien.chev@gmail.com> | 2023-09-26 02:23:45 +0800 |
|---|---|---|
| committer | ptitSeb <sebastien.chev@gmail.com> | 2023-09-26 02:23:45 +0800 |
| commit | c8651fb1f3afb18688b00e78ed0a6b2b1bd16c59 (patch) | |
| tree | 1ec4b0f2ce1f51470a2c3f4c5aaad32eacc1248f /src | |
| parent | 83a5b0d223a6837221274b88d3461ca50b5577cb (diff) | |
| download | box64-c8651fb1f3afb18688b00e78ed0a6b2b1bd16c59.tar.gz box64-c8651fb1f3afb18688b00e78ed0a6b2b1bd16c59.zip | |
Added wrapping of libicuuc66 and libicui18n66 (for when using ubuntu 20.04)
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/wrappedicui18n66defs.h | 8 | ||||
| -rw-r--r-- | src/wrapped/generated/wrappedicui18n66types.h | 17 | ||||
| -rw-r--r-- | src/wrapped/generated/wrappedicui18n66undefs.h | 8 | ||||
| -rw-r--r-- | src/wrapped/generated/wrappedicuuc66defs.h | 8 | ||||
| -rw-r--r-- | src/wrapped/generated/wrappedicuuc66types.h | 17 | ||||
| -rw-r--r-- | src/wrapped/generated/wrappedicuuc66undefs.h | 8 | ||||
| -rw-r--r-- | src/wrapped/wrappedicui18n66.c | 29 | ||||
| -rw-r--r-- | src/wrapped/wrappedicui18n66_private.h | 100 | ||||
| -rw-r--r-- | src/wrapped/wrappedicuuc66.c | 28 | ||||
| -rw-r--r-- | src/wrapped/wrappedicuuc66_private.h | 86 |
12 files changed, 313 insertions, 0 deletions
diff --git a/src/library_list.h b/src/library_list.h index 4167549e..af88fd32 100644 --- a/src/library_list.h +++ b/src/library_list.h @@ -226,6 +226,8 @@ GO("libvdpau.so.1", libvdpau) GO("libnuma.so.1", libnuma) GO("libnuma.so", libnuma) GO("d3dadapter9.so.1", d3dadapter9) +GO("libicuuc.so.66", icuuc66) +GO("libicui18n.so.66", icui18n66) GO("libicuuc.so.67", icuuc67) GO("libicui18n.so.67", icui18n67) GO("libicuuc.so.72", icuuc72) diff --git a/src/wrapped/generated/functions_list.txt b/src/wrapped/generated/functions_list.txt index b3bd60c6..00dccb16 100644 --- a/src/wrapped/generated/functions_list.txt +++ b/src/wrapped/generated/functions_list.txt @@ -3822,8 +3822,10 @@ wrappedgtkx112: - gtk_toolbar_prepend_element - pFpipppppppi: - gtk_toolbar_insert_element +wrappedicui18n66: wrappedicui18n67: wrappedicui18n72: +wrappedicuuc66: wrappedicuuc67: wrappedicuuc72: wrappedkrb5: diff --git a/src/wrapped/generated/wrappedicui18n66defs.h b/src/wrapped/generated/wrappedicui18n66defs.h new file mode 100644 index 00000000..0b9dc746 --- /dev/null +++ b/src/wrapped/generated/wrappedicui18n66defs.h @@ -0,0 +1,8 @@ +/******************************************************************* + * File automatically generated by rebuild_wrappers.py (v2.2.0.18) * + *******************************************************************/ +#ifndef __wrappedicui18n66DEFS_H_ +#define __wrappedicui18n66DEFS_H_ + + +#endif // __wrappedicui18n66DEFS_H_ diff --git a/src/wrapped/generated/wrappedicui18n66types.h b/src/wrapped/generated/wrappedicui18n66types.h new file mode 100644 index 00000000..5b1e11b1 --- /dev/null +++ b/src/wrapped/generated/wrappedicui18n66types.h @@ -0,0 +1,17 @@ +/******************************************************************* + * File automatically generated by rebuild_wrappers.py (v2.2.0.18) * + *******************************************************************/ +#ifndef __wrappedicui18n66TYPES_H_ +#define __wrappedicui18n66TYPES_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 // __wrappedicui18n66TYPES_H_ diff --git a/src/wrapped/generated/wrappedicui18n66undefs.h b/src/wrapped/generated/wrappedicui18n66undefs.h new file mode 100644 index 00000000..30506fd9 --- /dev/null +++ b/src/wrapped/generated/wrappedicui18n66undefs.h @@ -0,0 +1,8 @@ +/******************************************************************* + * File automatically generated by rebuild_wrappers.py (v2.2.0.18) * + *******************************************************************/ +#ifndef __wrappedicui18n66UNDEFS_H_ +#define __wrappedicui18n66UNDEFS_H_ + + +#endif // __wrappedicui18n66UNDEFS_H_ diff --git a/src/wrapped/generated/wrappedicuuc66defs.h b/src/wrapped/generated/wrappedicuuc66defs.h new file mode 100644 index 00000000..e26aa603 --- /dev/null +++ b/src/wrapped/generated/wrappedicuuc66defs.h @@ -0,0 +1,8 @@ +/******************************************************************* + * File automatically generated by rebuild_wrappers.py (v2.2.0.18) * + *******************************************************************/ +#ifndef __wrappedicuuc66DEFS_H_ +#define __wrappedicuuc66DEFS_H_ + + +#endif // __wrappedicuuc66DEFS_H_ diff --git a/src/wrapped/generated/wrappedicuuc66types.h b/src/wrapped/generated/wrappedicuuc66types.h new file mode 100644 index 00000000..7a898779 --- /dev/null +++ b/src/wrapped/generated/wrappedicuuc66types.h @@ -0,0 +1,17 @@ +/******************************************************************* + * File automatically generated by rebuild_wrappers.py (v2.2.0.18) * + *******************************************************************/ +#ifndef __wrappedicuuc66TYPES_H_ +#define __wrappedicuuc66TYPES_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 // __wrappedicuuc66TYPES_H_ diff --git a/src/wrapped/generated/wrappedicuuc66undefs.h b/src/wrapped/generated/wrappedicuuc66undefs.h new file mode 100644 index 00000000..ffb35d68 --- /dev/null +++ b/src/wrapped/generated/wrappedicuuc66undefs.h @@ -0,0 +1,8 @@ +/******************************************************************* + * File automatically generated by rebuild_wrappers.py (v2.2.0.18) * + *******************************************************************/ +#ifndef __wrappedicuuc66UNDEFS_H_ +#define __wrappedicuuc66UNDEFS_H_ + + +#endif // __wrappedicuuc66UNDEFS_H_ diff --git a/src/wrapped/wrappedicui18n66.c b/src/wrapped/wrappedicui18n66.c new file mode 100644 index 00000000..9a5fd095 --- /dev/null +++ b/src/wrapped/wrappedicui18n66.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* icui18n66Name = "libicui18n.so.66"; +#define LIBNAME icui18n66 + +#define CUSTOM_INIT \ + SETALT(my66_); \ + setNeededLibs(lib, 1, "libicuuc.so.66"); + +#include "wrappedlib_init.h" + diff --git a/src/wrapped/wrappedicui18n66_private.h b/src/wrapped/wrappedicui18n66_private.h new file mode 100644 index 00000000..55afb6ed --- /dev/null +++ b/src/wrapped/wrappedicui18n66_private.h @@ -0,0 +1,100 @@ +#if !(defined(GO) && defined(GOM) && defined(GO2) && defined(DATA)) +#error meh! +#endif + +GO(ucal_add_66, vFpiip) +GO(ucal_clear_66, vFp) +GO(ucal_clearField_66, vFpi) +GO(ucal_clone_66, pFpp) +GO(ucal_close_66, vFp) +GO(ucal_countAvailable_66, iFv) +GO(ucal_equivalentTo_66, cFpp) +GO(ucal_get_66, iFpip) +GO(ucal_getAttribute_66, iFpi) +GO(ucal_getAvailable_66, pFi) +GO(ucal_getCanonicalTimeZoneID_66, iFpipipp) +GO(ucal_getDayOfWeekType_66, iFpip) +GO(ucal_getDefaultTimeZone_66, iFpip) +GO(ucal_getDSTSavings_66, iFpp) +GO(ucal_getFieldDifference_66, iFpdip) +GO(ucal_getGregorianChange_66, dFpp) +GO(ucal_getHostTimeZone_66, iFpip) +GO(ucal_getKeywordValuesForLocale_66, pFppCp) +GO(ucal_getLimit_66, iFpiip) +GO(ucal_getLocaleByType_66, pFpip) +GO(ucal_getMillis_66, dFpp) +GO(ucal_getNow_66, dFv) +GO(ucal_getTimeZoneDisplayName_66, iFpippip) +GO(ucal_getTimeZoneID_66, iFppip) +GO(ucal_getTimeZoneIDForWindowsID_66, iFpippip) +GO(ucal_getTimeZoneOffsetFromLocal_66, vFpiippp) +GO(ucal_getTimeZoneTransitionDate_66, cFpipp) +GO(ucal_getType_66, pFpp) +GO(ucal_getTZDataVersion_66, pFp) +GO(ucal_getWeekendTransition_66, iFpip) +GO(ucal_getWindowsTimeZoneID_66, iFpipip) +GO(ucal_inDaylightTime_66, cFpp) +GO(ucal_isSet_66, cFpi) +GO(ucal_isWeekend_66, cFpdp) +GO(ucal_open_66, pFpipip) +GO(ucal_openCountryTimeZones_66, pFpp) +GO(ucal_openTimeZoneIDEnumeration_66, pFippp) +GO(ucal_openTimeZones_66, pFp) +GO(ucal_roll_66, vFpiip) +GO(ucal_set_66, vFpii) +GO(ucal_setAttribute_66, vFpii) +GO(ucal_setDate_66, vFpiiip) +GO(ucal_setDateTime_66, vFpiiiiiip) +GO(ucal_setDefaultTimeZone_66, vFpp) +GO(ucal_setGregorianChange_66, vFpdp) +GO(ucal_setMillis_66, vFpdp) +GO(ucal_setTimeZone_66, vFppip) + +GO(ucol_clone_66, pFpp) +GO(ucol_close_66, vFp) +GO(ucol_closeElements_66, vFp) +GO(ucol_setMaxVariable_66, vFpip) +GO(ucol_getOffset_66, iFp) +GO(ucol_getRules_66, pFpp) +GO(ucol_getSortKey_66, iFppipi) +GO(ucol_getStrength_66, iFp) +GO(ucol_getVersion_66, vFpp) +GO(ucol_next_66, iFpp) +GO(ucol_previous_66, iFpp) +GO(ucol_open_66, pFpp) +GO(ucol_openElements_66, pFppip) +GO(ucol_openRules_66, pFpiiipp) +GO(ucol_safeClone_66, pFpppp) +GO(ucol_setAttribute_66, vFpiip) +GO(ucol_setVariableTop_66, uFppip) +GO(ucol_strcoll_66, iFppipi) + +GO(udat_close_66, vFp) +GO(udat_countSymbols_66, iFpi) +GO(udat_getSymbols_66, iFpiipip) +GO(udat_format_66, iFpdpipp) +GO(udat_open_66, pFiippipip) +GO(udat_setCalendar_66, vFpp) +GO(udat_toPattern_66, iFpCpip) + +GO(unum_close_66, vFp) +GO(unum_getAttribute_66, iFpi) +GO(unum_getSymbol_66, iFpipip) +GO(unum_open_66, pFipippp) +GO(unum_toPattern_66, iFpCpip) + +GO(udatpg_close_66, vFp) +GO(udatpg_getBestPattern_66, iFppipip) +GO(udatpg_open_66, pFpp) + +GO(ulocdata_getCLDRVersion_66, vFpp) +GO(ulocdata_getMeasurementSystem_66, iFpp) + +GO(usearch_close_66, vFp) +GO(usearch_first_66, iFpp) +GO(usearch_getBreakIterator_66, pFp) +GO(usearch_getMatchedLength_66, iFp) +GO(usearch_last_66, iFpp) +GO(usearch_openFromCollator_66, pFpipippp) +GO(usearch_setPattern_66, vFppip) +GO(usearch_setText_66, vFppip) diff --git a/src/wrapped/wrappedicuuc66.c b/src/wrapped/wrappedicuuc66.c new file mode 100644 index 00000000..de2c0c49 --- /dev/null +++ b/src/wrapped/wrappedicuuc66.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* icuuc66Name = "libicuuc.so.66"; +#define LIBNAME icuuc66 + +#define CUSTOM_INIT \ + SETALT(my66_); \ + +#include "wrappedlib_init.h" + diff --git a/src/wrapped/wrappedicuuc66_private.h b/src/wrapped/wrappedicuuc66_private.h new file mode 100644 index 00000000..a45e54b9 --- /dev/null +++ b/src/wrapped/wrappedicuuc66_private.h @@ -0,0 +1,86 @@ +#if !(defined(GO) && defined(GOM) && defined(GO2) && defined(DATA)) +#error meh! +#endif + +GO(ubrk_clone_66, pFpp) +GO(ubrk_close_66, vFp) +GO(ubrk_countAvailable_66, iFv) +GO(ubrk_current_66, iFp) +GO(ubrk_first_66, iFp) +GO(ubrk_following_66, iFpi) +GO(ubrk_getAvailable_66, pFi) +GO(ubrk_getBinaryRules_66, iFppip) +GO(ubrk_getLocaleByType_66, pFpip) +GO(ubrk_getRuleStatus_66, iFp) +GO(ubrk_getRuleStatusVec_66, iFppip) +GO(ubrk_isBoundary_66, cFpi) +GO(ubrk_last_66, iFp) +GO(ubrk_next_66, iFp) +GO(ubrk_open_66, pFppip) +GO(ubrk_openBinaryRules_66, pFpipip) +GO(ubrk_openRules_66, pFpipipp) +GO(ubrk_preceding_66, iFpi) +GO(ubrk_previous_66, iFp) +GO(ubrk_refreshUText_66, vFppp) +GO(ubrk_safeClone_66, pFpppp) +GO(ubrk_setText_66, vFppip) +GO(ubrk_setUText_66, vFppp) +GO(ubrk_swap_66, iFppipp) + +GO(ucurr_forLocale_66, iFppip) +GO(ucurr_getName_66, pFppippp) + +GO(uloc_canonicalize_66, iFppip) +GO(uloc_countAvailable_66, iFv) +GO(uloc_getAvailable_66, pFi) +GO(uloc_getBaseName_66, iFppip) +GO(uloc_getCharacterOrientation_66, iFpp) +GO(uloc_getCountry_66, iFppip) +GO(uloc_getDefault_66, pFv) +GO(uloc_getDisplayCountry_66, iFpppip) +GO(uloc_getDisplayLanguage_66, iFpppip) +GO(uloc_getDisplayName_66, iFpppip) +GO(uloc_getISO3Country_66, pFp) +GO(uloc_getISO3Language_66, pFp) +GO(uloc_getKeywordValue_66, iFpppip) +GO(uloc_getLanguage_66, iFppip) +GO(uloc_getLCID_66, uFp) +GO(uloc_getName_66, iFppip) +GO(uloc_getParent_66, iFppip) +GO(uloc_setKeywordValue_66, iFpppip) + +GO(ures_close_66, vFp) +GO(ures_getByKey_66, pFpppp) +GO(ures_getSize_66, iFp) +GO(ures_getStringByIndex_66, pFpipp) +GO(ures_open_66, pFppp) + +GO(uldn_close_66, vFp) +GO(uldn_keyValueDisplayName_66, iFppppip) +GO(uldn_open_66, pFpip) + +GO(uenum_close_66, vFp) +GO(uenum_count_66, iFpp) +GO(uenum_next_66, pFppp) + +GO(uidna_close_66, vFp) +GO(uidna_nameToASCII_66, iFppipipp) +GO(uidna_nameToUnicode_66, iFppipipp) +GO(uidna_openUTS46_66, pFpp) + +GO(unorm2_getNFCInstance_66, pFp) +GO(unorm2_getNFDInstance_66, pFp) +GO(unorm2_getNFKCInstance_66, pFp) +GO(unorm2_getNFKDInstance_66, pFp) +GO(unorm2_isNormalized_66, CFppip) +GO(unorm2_normalize_66, iFppipip) + +GO(u_charsToUChars_66, vFppi) +GO(u_getVersion_66, vFp) +GO(u_strcmp_66, iFpp) +GO(u_strcpy_66, pFpp) +GO(u_strlen_66, iFp) +GO(u_strncpy_66, pFppi) +GO(u_tolower_66, uFu) +GO(u_toupper_66, uFu) +GO(u_uastrncpy_66, pFppi) |