about summary refs log tree commit diff stats
path: root/src
diff options
context:
space:
mode:
authorYang Liu <numbksco@gmail.com>2023-06-10 00:47:51 +0800
committerGitHub <noreply@github.com>2023-06-09 18:47:51 +0200
commitcc56ebbb35242cd41322dda98b629b2f044c3207 (patch)
treefbc7c9e75bcbda53c5a92fc67ddd947fa95897c8 /src
parent56b87146e79a1f0f0169bf0853350ffdf68efe72 (diff)
downloadbox64-cc56ebbb35242cd41322dda98b629b2f044c3207.tar.gz
box64-cc56ebbb35242cd41322dda98b629b2f044c3207.zip
[WRAPPER] Added more libicu wrapped functions (for #829) (#831)
Diffstat (limited to 'src')
-rw-r--r--src/wrapped/generated/functions_list.txt1
-rw-r--r--src/wrapped/generated/wrapper.c3
-rw-r--r--src/wrapped/generated/wrapper.h1
-rw-r--r--src/wrapped/wrappedicui18n67_private.h4
-rw-r--r--src/wrapped/wrappedicui18n72_private.h4
-rw-r--r--src/wrapped/wrappedicuuc67_private.h2
-rw-r--r--src/wrapped/wrappedicuuc72_private.h2
7 files changed, 15 insertions, 2 deletions
diff --git a/src/wrapped/generated/functions_list.txt b/src/wrapped/generated/functions_list.txt
index bf545359..f3e43b90 100644
--- a/src/wrapped/generated/functions_list.txt
+++ b/src/wrapped/generated/functions_list.txt
@@ -1882,6 +1882,7 @@
 #() iFpUuupp
 #() iFpUUUip
 #() iFpUUUUp
+#() iFpdpipp
 #() iFpLiiiL
 #() iFpLiiip
 #() iFpLiiuu
diff --git a/src/wrapped/generated/wrapper.c b/src/wrapped/generated/wrapper.c
index 13402ac9..0196afd8 100644
--- a/src/wrapped/generated/wrapper.c
+++ b/src/wrapped/generated/wrapper.c
@@ -1918,6 +1918,7 @@ typedef int32_t (*iFpUuuLp_t)(void*, uint64_t, uint32_t, uint32_t, uintptr_t, vo
 typedef int32_t (*iFpUuupp_t)(void*, uint64_t, uint32_t, uint32_t, void*, void*);
 typedef int32_t (*iFpUUUip_t)(void*, uint64_t, uint64_t, uint64_t, int32_t, void*);
 typedef int32_t (*iFpUUUUp_t)(void*, uint64_t, uint64_t, uint64_t, uint64_t, void*);
+typedef int32_t (*iFpdpipp_t)(void*, double, void*, int32_t, void*, void*);
 typedef int32_t (*iFpLiiiL_t)(void*, uintptr_t, int32_t, int32_t, int32_t, uintptr_t);
 typedef int32_t (*iFpLiiip_t)(void*, uintptr_t, int32_t, int32_t, int32_t, void*);
 typedef int32_t (*iFpLiiuu_t)(void*, uintptr_t, int32_t, int32_t, uint32_t, uint32_t);
@@ -4731,6 +4732,7 @@ void iFpUuuLp(x64emu_t *emu, uintptr_t fcn) { iFpUuuLp_t fn = (iFpUuuLp_t)fcn; R
 void iFpUuupp(x64emu_t *emu, uintptr_t fcn) { iFpUuupp_t fn = (iFpUuupp_t)fcn; R_RAX=(int32_t)fn((void*)R_RDI, (uint64_t)R_RSI, (uint32_t)R_RDX, (uint32_t)R_RCX, (void*)R_R8, (void*)R_R9); }
 void iFpUUUip(x64emu_t *emu, uintptr_t fcn) { iFpUUUip_t fn = (iFpUUUip_t)fcn; R_RAX=(int32_t)fn((void*)R_RDI, (uint64_t)R_RSI, (uint64_t)R_RDX, (uint64_t)R_RCX, (int32_t)R_R8, (void*)R_R9); }
 void iFpUUUUp(x64emu_t *emu, uintptr_t fcn) { iFpUUUUp_t fn = (iFpUUUUp_t)fcn; R_RAX=(int32_t)fn((void*)R_RDI, (uint64_t)R_RSI, (uint64_t)R_RDX, (uint64_t)R_RCX, (uint64_t)R_R8, (void*)R_R9); }
+void iFpdpipp(x64emu_t *emu, uintptr_t fcn) { iFpdpipp_t fn = (iFpdpipp_t)fcn; R_RAX=(int32_t)fn((void*)R_RDI, emu->xmm[0].d[0], (void*)R_RSI, (int32_t)R_RDX, (void*)R_RCX, (void*)R_R8); }
 void iFpLiiiL(x64emu_t *emu, uintptr_t fcn) { iFpLiiiL_t fn = (iFpLiiiL_t)fcn; R_RAX=(int32_t)fn((void*)R_RDI, (uintptr_t)R_RSI, (int32_t)R_RDX, (int32_t)R_RCX, (int32_t)R_R8, (uintptr_t)R_R9); }
 void iFpLiiip(x64emu_t *emu, uintptr_t fcn) { iFpLiiip_t fn = (iFpLiiip_t)fcn; R_RAX=(int32_t)fn((void*)R_RDI, (uintptr_t)R_RSI, (int32_t)R_RDX, (int32_t)R_RCX, (int32_t)R_R8, (void*)R_R9); }
 void iFpLiiuu(x64emu_t *emu, uintptr_t fcn) { iFpLiiuu_t fn = (iFpLiiuu_t)fcn; R_RAX=(int32_t)fn((void*)R_RDI, (uintptr_t)R_RSI, (int32_t)R_RDX, (int32_t)R_RCX, (uint32_t)R_R8, (uint32_t)R_R9); }
@@ -7261,6 +7263,7 @@ int isSimpleWrapper(wrapper_t fun) {
 	if (fun == &iFpUuupp) return 1;
 	if (fun == &iFpUUUip) return 1;
 	if (fun == &iFpUUUUp) return 1;
+	if (fun == &iFpdpipp) return 2;
 	if (fun == &iFpLiiiL) return 1;
 	if (fun == &iFpLiiip) return 1;
 	if (fun == &iFpLiiuu) return 1;
diff --git a/src/wrapped/generated/wrapper.h b/src/wrapped/generated/wrapper.h
index c4d2bd7f..21405ee0 100644
--- a/src/wrapped/generated/wrapper.h
+++ b/src/wrapped/generated/wrapper.h
@@ -1919,6 +1919,7 @@ void iFpUuuLp(x64emu_t *emu, uintptr_t fnc);
 void iFpUuupp(x64emu_t *emu, uintptr_t fnc);
 void iFpUUUip(x64emu_t *emu, uintptr_t fnc);
 void iFpUUUUp(x64emu_t *emu, uintptr_t fnc);
+void iFpdpipp(x64emu_t *emu, uintptr_t fnc);
 void iFpLiiiL(x64emu_t *emu, uintptr_t fnc);
 void iFpLiiip(x64emu_t *emu, uintptr_t fnc);
 void iFpLiiuu(x64emu_t *emu, uintptr_t fnc);
diff --git a/src/wrapped/wrappedicui18n67_private.h b/src/wrapped/wrappedicui18n67_private.h
index 6e6aa5cf..6401b59c 100644
--- a/src/wrapped/wrappedicui18n67_private.h
+++ b/src/wrapped/wrappedicui18n67_private.h
@@ -70,6 +70,7 @@ GO(ucol_strcoll_67, iFppipi)
 GO(udat_close_67, vFp)
 GO(udat_countSymbols_67, iFpi)
 GO(udat_getSymbols_67, iFpiipip)
+GO(udat_format_67, iFpdpipp)
 GO(udat_open_67, pFiippipip)
 GO(udat_setCalendar_67, vFpp)
 GO(udat_toPattern_67, iFpCpip)
@@ -89,6 +90,9 @@ GO(ulocdata_getMeasurementSystem_67, iFpp)
 
 GO(usearch_close_67, vFp)
 GO(usearch_first_67, iFpp)
+GO(usearch_getBreakIterator_67, pFp)
 GO(usearch_getMatchedLength_67, iFp)
 GO(usearch_last_67, iFpp)
 GO(usearch_openFromCollator_67, pFpipippp)
+GO(usearch_setPattern_67, vFppip)
+GO(usearch_setText_67, vFppip)
diff --git a/src/wrapped/wrappedicui18n72_private.h b/src/wrapped/wrappedicui18n72_private.h
index 934771eb..7010b9f3 100644
--- a/src/wrapped/wrappedicui18n72_private.h
+++ b/src/wrapped/wrappedicui18n72_private.h
@@ -73,6 +73,7 @@ GO(ucol_strcoll_72, iFppipi)
 GO(udat_close_72, vFp)
 GO(udat_countSymbols_72, iFpi)
 GO(udat_getSymbols_72, iFpiipip)
+GO(udat_format_72, iFpdpipp)
 GO(udat_open_72, pFiippipip)
 GO(udat_setCalendar_72, vFpp)
 GO(udat_toPattern_72, iFpCpip)
@@ -92,6 +93,9 @@ GO(ulocdata_getMeasurementSystem_72, iFpp)
 
 GO(usearch_close_72, vFp)
 GO(usearch_first_72, iFpp)
+GO(usearch_getBreakIterator_72, pFp)
 GO(usearch_getMatchedLength_72, iFp)
 GO(usearch_last_72, iFpp)
 GO(usearch_openFromCollator_72, pFpipippp)
+GO(usearch_setPattern_72, vFppip)
+GO(usearch_setText_72, vFppip)
diff --git a/src/wrapped/wrappedicuuc67_private.h b/src/wrapped/wrappedicuuc67_private.h
index 5bd14267..276342df 100644
--- a/src/wrapped/wrappedicuuc67_private.h
+++ b/src/wrapped/wrappedicuuc67_private.h
@@ -42,7 +42,7 @@ 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_getKeywordValue_67, iFpppip)
 GO(uloc_getLanguage_67, iFppip)
 GO(uloc_getLCID_67, uFp)
 GO(uloc_getName_67, iFppip)
diff --git a/src/wrapped/wrappedicuuc72_private.h b/src/wrapped/wrappedicuuc72_private.h
index 8f37b5e1..99d2dd8b 100644
--- a/src/wrapped/wrappedicuuc72_private.h
+++ b/src/wrapped/wrappedicuuc72_private.h
@@ -42,7 +42,7 @@ GO(uloc_getDisplayLanguage_72, iFpppip)
 GO(uloc_getDisplayName_72, iFpppip)
 GO(uloc_getISO3Country_72, pFp)
 GO(uloc_getISO3Language_72, pFp)
-GO(uloc_getKeywordValue_72, iFppip)
+GO(uloc_getKeywordValue_72, iFpppip)
 GO(uloc_getLanguage_72, iFppip)
 GO(uloc_getLCID_72, uFp)
 GO(uloc_getName_72, iFppip)