feat(libSceNKWebKit): implement WTF::ICU majorVersion and minorVersion #15498
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/15498"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Imported from boykopovar/AnyPS5. Originally posted by voidlakhan on 2026-11-03T16:04:32Z.
What
Implement
WTF::ICU::majorVersion()andWTF::ICU::minorVersion()(_ZN3WTF3ICU12majorVersionEv/VZkUzpN-EW8and_ZN3WTF3ICU12minorVersionEv/GMRugn+lVTw) inlibSceNKWebKit.The implementation follows upstream WebKit at ICUHelpers.h and ICUHelpers.cpp (commit
80f77e94c63ee7202eec3d4b5b1a021dd89011ba):u_getVersion_nid_postfix()usingstd::call_oncesynchronization and return version elements[0]and[1].libSceIcuinlibSceNKWebKit'sCMakeLists.txtto reuse the existinglibSceIcuversion infrastructure rather than hardcoding values or duplicating version storage.InventoryExports.hpptoWtfExports.hppwithAPS5_VABIandunsigned intreturn type.Export.cppand updates technical debt documentation indocs/dev/debt/libSceNKWebKit.md.Tested
nkwebkit_wtfpassed locally intests/Wtf.cpp(verifying dynamic equality withu_getVersion_nid_postfixand expected78and1outputs).ctest --test-dir build-full -R "nkwebkit|guest_nkwebkit" -V).python tools/check_conventions.py --base upstream/main: passed locally.python tools/pr_overlap.py --branch feat/nkwebkit-icu-versions: passed locally with 0 overlaps across 1708 open PRs.git diff --check upstream/main..HEAD: passed locally.Checklist
main; no other open PR implements the same functionsNotImplemented_nid_no_patch); silent stubs are listed under Silent stubs in their library's technical debt file.mdfiles or images added to the repository (attach them to this PR)