mirror of
https://github.com/ptitSeb/box64.git
synced 2024-11-27 00:30:32 +00:00
Added wrapping of libicuuc66 and libicui18n66 (for when using ubuntu 20.04)
This commit is contained in:
parent
83a5b0d223
commit
c8651fb1f3
@ -554,6 +554,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/wrappedicuuc66.c"
|
||||
"${BOX64_ROOT}/src/wrapped/wrappedicui18n66.c"
|
||||
"${BOX64_ROOT}/src/wrapped/wrappedicuuc67.c"
|
||||
"${BOX64_ROOT}/src/wrapped/wrappedicui18n67.c"
|
||||
"${BOX64_ROOT}/src/wrapped/wrappedicuuc72.c"
|
||||
|
@ -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)
|
||||
|
@ -3822,8 +3822,10 @@ wrappedgtkx112:
|
||||
- gtk_toolbar_prepend_element
|
||||
- pFpipppppppi:
|
||||
- gtk_toolbar_insert_element
|
||||
wrappedicui18n66:
|
||||
wrappedicui18n67:
|
||||
wrappedicui18n72:
|
||||
wrappedicuuc66:
|
||||
wrappedicuuc67:
|
||||
wrappedicuuc72:
|
||||
wrappedkrb5:
|
||||
|
8
src/wrapped/generated/wrappedicui18n66defs.h
Normal file
8
src/wrapped/generated/wrappedicui18n66defs.h
Normal file
@ -0,0 +1,8 @@
|
||||
/*******************************************************************
|
||||
* File automatically generated by rebuild_wrappers.py (v2.2.0.18) *
|
||||
*******************************************************************/
|
||||
#ifndef __wrappedicui18n66DEFS_H_
|
||||
#define __wrappedicui18n66DEFS_H_
|
||||
|
||||
|
||||
#endif // __wrappedicui18n66DEFS_H_
|
17
src/wrapped/generated/wrappedicui18n66types.h
Normal file
17
src/wrapped/generated/wrappedicui18n66types.h
Normal file
@ -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_
|
8
src/wrapped/generated/wrappedicui18n66undefs.h
Normal file
8
src/wrapped/generated/wrappedicui18n66undefs.h
Normal file
@ -0,0 +1,8 @@
|
||||
/*******************************************************************
|
||||
* File automatically generated by rebuild_wrappers.py (v2.2.0.18) *
|
||||
*******************************************************************/
|
||||
#ifndef __wrappedicui18n66UNDEFS_H_
|
||||
#define __wrappedicui18n66UNDEFS_H_
|
||||
|
||||
|
||||
#endif // __wrappedicui18n66UNDEFS_H_
|
8
src/wrapped/generated/wrappedicuuc66defs.h
Normal file
8
src/wrapped/generated/wrappedicuuc66defs.h
Normal file
@ -0,0 +1,8 @@
|
||||
/*******************************************************************
|
||||
* File automatically generated by rebuild_wrappers.py (v2.2.0.18) *
|
||||
*******************************************************************/
|
||||
#ifndef __wrappedicuuc66DEFS_H_
|
||||
#define __wrappedicuuc66DEFS_H_
|
||||
|
||||
|
||||
#endif // __wrappedicuuc66DEFS_H_
|
17
src/wrapped/generated/wrappedicuuc66types.h
Normal file
17
src/wrapped/generated/wrappedicuuc66types.h
Normal file
@ -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_
|
8
src/wrapped/generated/wrappedicuuc66undefs.h
Normal file
8
src/wrapped/generated/wrappedicuuc66undefs.h
Normal file
@ -0,0 +1,8 @@
|
||||
/*******************************************************************
|
||||
* File automatically generated by rebuild_wrappers.py (v2.2.0.18) *
|
||||
*******************************************************************/
|
||||
#ifndef __wrappedicuuc66UNDEFS_H_
|
||||
#define __wrappedicuuc66UNDEFS_H_
|
||||
|
||||
|
||||
#endif // __wrappedicuuc66UNDEFS_H_
|
29
src/wrapped/wrappedicui18n66.c
Normal file
29
src/wrapped/wrappedicui18n66.c
Normal 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* icui18n66Name = "libicui18n.so.66";
|
||||
#define LIBNAME icui18n66
|
||||
|
||||
#define CUSTOM_INIT \
|
||||
SETALT(my66_); \
|
||||
setNeededLibs(lib, 1, "libicuuc.so.66");
|
||||
|
||||
#include "wrappedlib_init.h"
|
||||
|
100
src/wrapped/wrappedicui18n66_private.h
Normal file
100
src/wrapped/wrappedicui18n66_private.h
Normal file
@ -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)
|
28
src/wrapped/wrappedicuuc66.c
Normal file
28
src/wrapped/wrappedicuuc66.c
Normal 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* icuuc66Name = "libicuuc.so.66";
|
||||
#define LIBNAME icuuc66
|
||||
|
||||
#define CUSTOM_INIT \
|
||||
SETALT(my66_); \
|
||||
|
||||
#include "wrappedlib_init.h"
|
||||
|
86
src/wrapped/wrappedicuuc66_private.h
Normal file
86
src/wrapped/wrappedicuuc66_private.h
Normal file
@ -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)
|
Loading…
Reference in New Issue
Block a user