Added wrapped libicuuc67 and libicui18n67, based on 72 version (for #690)

This commit is contained in:
ptitSeb 2023-04-13 13:20:45 +02:00
parent 828f088b6c
commit 344683927f
13 changed files with 244 additions and 0 deletions

View File

@ -508,6 +508,8 @@ set(WRAPPEDS
"${BOX64_ROOT}/src/wrapped/wrappedvulkan.c"
"${BOX64_ROOT}/src/wrapped/wrappedxshmfence.c"
"${BOX64_ROOT}/src/wrapped/wrappedd3dadapter9.c"
"${BOX64_ROOT}/src/wrapped/wrappedicuuc67.c"
"${BOX64_ROOT}/src/wrapped/wrappedicui18n67.c"
"${BOX64_ROOT}/src/wrapped/wrappedicuuc72.c"
"${BOX64_ROOT}/src/wrapped/wrappedicui18n72.c"
)

View File

@ -225,6 +225,8 @@ GO("libvdpau.so.1", libvdpau)
GO("libnuma.so.1", libnuma)
GO("libnuma.so", libnuma)
GO("d3dadapter9.so.1", d3dadapter9)
GO("libicuuc.so.67", icuuc67)
GO("libicui18n.so.67", icui18n67)
GO("libicuuc.so.72", icuuc72)
GO("libicui18n.so.72", icui18n72)

View File

@ -3142,7 +3142,9 @@ wrappedgtkx112:
- gtk_toolbar_prepend_element
- pFpipppppppi:
- gtk_toolbar_insert_element
wrappedicui18n67:
wrappedicui18n72:
wrappedicuuc67:
wrappedicuuc72:
wrappedkrb5:
- iFppppppipp:

View File

@ -0,0 +1,8 @@
/*******************************************************************
* File automatically generated by rebuild_wrappers.py (v2.2.0.17) *
*******************************************************************/
#ifndef __wrappedicui18n67DEFS_H_
#define __wrappedicui18n67DEFS_H_
#endif // __wrappedicui18n67DEFS_H_

View File

@ -0,0 +1,17 @@
/*******************************************************************
* File automatically generated by rebuild_wrappers.py (v2.2.0.17) *
*******************************************************************/
#ifndef __wrappedicui18n67TYPES_H_
#define __wrappedicui18n67TYPES_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 // __wrappedicui18n67TYPES_H_

View File

@ -0,0 +1,8 @@
/*******************************************************************
* File automatically generated by rebuild_wrappers.py (v2.2.0.17) *
*******************************************************************/
#ifndef __wrappedicui18n67UNDEFS_H_
#define __wrappedicui18n67UNDEFS_H_
#endif // __wrappedicui18n67UNDEFS_H_

View File

@ -0,0 +1,8 @@
/*******************************************************************
* File automatically generated by rebuild_wrappers.py (v2.2.0.17) *
*******************************************************************/
#ifndef __wrappedicuuc67DEFS_H_
#define __wrappedicuuc67DEFS_H_
#endif // __wrappedicuuc67DEFS_H_

View File

@ -0,0 +1,17 @@
/*******************************************************************
* File automatically generated by rebuild_wrappers.py (v2.2.0.17) *
*******************************************************************/
#ifndef __wrappedicuuc67TYPES_H_
#define __wrappedicuuc67TYPES_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 // __wrappedicuuc67TYPES_H_

View File

@ -0,0 +1,8 @@
/*******************************************************************
* File automatically generated by rebuild_wrappers.py (v2.2.0.17) *
*******************************************************************/
#ifndef __wrappedicuuc67UNDEFS_H_
#define __wrappedicuuc67UNDEFS_H_
#endif // __wrappedicuuc67UNDEFS_H_

View File

@ -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* icui18n67Name = "libicui18n.so.67";
#define LIBNAME icui18n67
#define CUSTOM_INIT \
SETALT(my67_); \
setNeededLibs(lib, 1, "libicuuc.so.67");
#include "wrappedlib_init.h"

View File

@ -0,0 +1,56 @@
#if !(defined(GO) && defined(GOM) && defined(GO2) && defined(DATA))
#error meh!
#endif
GO(ucal_add_67, vFpiip)
GO(ucal_close_67, vFp)
GO(ucal_get_67, iFpip)
GO(ucal_getAttribute_67, iFpi)
GO(ucal_getKeywordValuesForLocale_67, pFppCp)
GO(ucal_getLimit_67, iFpiip)
GO(ucal_getTimeZoneDisplayName_67, iFpippip)
GO(ucal_open_67, pFpipip)
GO(ucal_set_67, vFpii)
GO(ucol_close_67, vFp)
GO(ucol_closeElements_67, vFp)
GO(ucol_getOffset_67, iFp)
GO(ucol_getRules_67, pFpp)
GO(ucol_getSortKey_67, iFppipi)
GO(ucol_getStrength_67, iFp)
GO(ucol_getVersion_67, vFpp)
GO(ucol_next_67, iFpp)
GO(ucol_previous_67, iFpp)
GO(ucol_open_67, pFpp)
GO(ucol_openElements_67, pFppip)
GO(ucol_openRules_67, pFpiiipp)
GO(ucol_safeClone_67, pFpppp)
GO(ucol_setAttribute_67, vFpiip)
GO(ucol_setVariableTop_67, uFppip)
GO(ucol_strcoll_67, iFppipi)
GO(udat_close_67, vFp)
GO(udat_countSymbols_67, iFpi)
GO(udat_getSymbols_67, iFpiipip)
GO(udat_open_67, pFiippipip)
GO(udat_setCalendar_67, vFpp)
GO(udat_toPattern_67, iFpCpip)
GO(unum_close_67, vFp)
GO(unum_getAttribute_67, iFpi)
GO(unum_getSymbol_67, iFpipip)
GO(unum_open_67, pFipippp)
GO(unum_toPattern_67, iFpCpip)
GO(udatpg_close_67, vFp)
GO(udatpg_getBestPattern_67, iFppipip)
GO(udatpg_open_67, pFpp)
GO(ulocdata_getCLDRVersion_67, vFpp)
GO(ulocdata_getMeasurementSystem_67, iFpp)
GO(usearch_close_67, vFp)
GO(usearch_first_67, iFpp)
GO(usearch_getMatchedLength_67, iFp)
GO(usearch_last_67, iFpp)
GO(usearch_openFromCollator_67, pFpipippp)

View File

@ -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* icuuc67Name = "libicuuc.so.67";
#define LIBNAME icuuc67
#define CUSTOM_INIT \
SETALT(my67_); \
#include "wrappedlib_init.h"

View File

@ -0,0 +1,59 @@
#if !(defined(GO) && defined(GOM) && defined(GO2) && defined(DATA))
#error meh!
#endif
GO(ucurr_forLocale_67, iFppip)
GO(ucurr_getName_67, pFppippp)
GO(uloc_canonicalize_67, iFppip)
GO(uloc_countAvailable_67, iFv)
GO(uloc_getAvailable_67, pFi)
GO(uloc_getBaseName_67, iFppip)
GO(uloc_getCharacterOrientation_67, iFpp)
GO(uloc_getCountry_67, iFppip)
GO(uloc_getDefault_67, pFv)
GO(uloc_getDisplayCountry_67, iFpppip)
GO(uloc_getDisplayLanguage_67, iFpppip)
GO(uloc_getDisplayName_67, iFpppip)
GO(uloc_getISO3Country_67, pFp)
GO(uloc_getISO3Language_67, pFp)
GO(uloc_getKeywordValue_67, iFppip)
GO(uloc_getLanguage_67, iFppip)
GO(uloc_getLCID_67, uFp)
GO(uloc_getName_67, iFppip)
GO(uloc_getParent_67, iFppip)
GO(uloc_setKeywordValue_67, iFpppip)
GO(ures_close_67, vFp)
GO(ures_getByKey_67, pFpppp)
GO(ures_getSize_67, iFp)
GO(ures_getStringByIndex_67, pFpipp)
GO(ures_open_67, pFppp)
GO(uldn_close_67, vFp)
GO(uldn_keyValueDisplayName_67, iFppppip)
GO(uldn_open_67, pFpip)
GO(uenum_close_67, vFp)
GO(uenum_count_67, iFpp)
GO(uenum_next_67, pFppp)
GO(uidna_close_67, vFp)
GO(uidna_nameToASCII_67, iFppipipp)
GO(uidna_nameToUnicode_67, iFppipipp)
GO(uidna_openUTS46_67, pFpp)
GO(unorm2_getNFCInstance_67, pFp)
GO(unorm2_getNFDInstance_67, pFp)
GO(unorm2_getNFKCInstance_67, pFp)
GO(unorm2_getNFKDInstance_67, pFp)
GO(unorm2_isNormalized_67, CFppip)
GO(unorm2_normalize_67, iFppipip)
GO(u_charsToUChars_67, vFppi)
GO(u_getVersion_67, vFp)
GO(u_strcmp_67, iFpp)
GO(u_strlen_67, iFp)
GO(u_strncpy_67, pFppi)
GO(u_tolower_67, uFu)
GO(u_toupper_67, uFu)