feat(libSceIcu): name 74 unknown exports from their NIDs #13410
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/13410"
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 CodingBreadd on 2026-10-30T13:56:14Z.
What
Names 74 of the 96
sceIcuUnknown_*_nid_no_patchexports of libSceIcu. Each new name is the ICU C API identifier whosetools/nid_names.pyhash equals the stub's NID; candidates were every identifier in the ICU 78.1common,i18nandiosources. Examples:u_charType,u_strToLower,u_isalpha,u_getIntPropertyValue,res_getTableItemByKey,UCNV_FROM_U_CALLBACK_SUBSTITUTE.Every renamed export still throws through
NotImplemented_nid_no_patch, keeps the no-parameter import-resolution convention and is declared once inIdentified.hpp. Missing-import and unimplemented-call errors now name the ICU function instead of the NID. The debt entry records that a name match does not establish ICU's prototype or behavior.The other 22 unknowns also hash to ICU names, but open pull requests already rename and implement them, so this PR leaves them alone: 20 in #12320, and
u_getUnicodeVersionandu_strCompareIterin #13457.Tested
Windows 11, WinLibs GCC 15.2.0 (UCRT, POSIX, SEH). Built
libSceIcuand the patchedlibSceIcu.prx; the patched export table holds the same 96 NIDs as before.ctest -R "guest_icu|public_headers": 71/71 passed.tools/check_conventions.py --base origin/mainpasses. No title tested.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)🤖 Generated with Claude Code