feat(libSceJson2): add the sce::Json::Array copy constructor, clear, front and iterator::operator-> #3570
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/3570"
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 EdouardSence on 2026-10-11T13:30:13Z.
What
Adds four
sce::Json::Arraymembers to libSceJson2: the copy constructor,clear,frontanditerator::operator->.bI5AGFMydrA,qVOSuDRHCpA,zcfZQyM7eAE,iAIYn4oAWvI). Onmaina11c8f7fthe title has 8 missing imports, and its loader stops on the first of them:./app.elf: symbol lookup error: ./app.elf: undefined symbol: uBIN24Tv2MI(#3559). With #3559 it stops onundefined symbol: qVOSuDRHCpA(Array::clear).Object's;cleardestroys the values likeObject::clear;frontmirrorsback, and throws on an empty array asbackdoes;operator->returns the same value asoperator*.guest_jsonchecks them inObjectsAndArrays:front,->against*, a copy that survivesclearof the original, andfronton an empty array. Onmainthe test does not link (6 undefined references).Tested
Linux (CachyOS), RX 9070 XT, GCC, Release, on
maina11c8f7f:guest_jsonpasses.NGS2: system option flags are not implemented.Checklist
main; no other open PR implements the same functionsNotImplemented_nid_no_patch); silent stubs are listed in TechnicalDebt.mdfiles or images added to the repository (attach them to this PR)Tested and written by Claude (AI assistant) on a contributor's machine.
🤖 Generated with Claude Code
Imported from boykopovar/AnyPS5. Originally posted by github-actions[bot] on 2026-10-11T13:30:37Z.
Progress report (
a11c8f7→3faaa4b)📈 System libraries: 85.83% (+0.02%, +4 implemented functions)
✅ 4 implemented
_ZN3sce4Json5Array5clearEv_ZN3sce4Json5ArrayC1ERKS1__ZNK3sce4Json5Array5frontEv_ZNK3sce4Json5Array8iteratorptEvImported from boykopovar/AnyPS5. Originally posted by adriadam10 on 2026-10-11T21:34:12Z.
Checked build and
guest_json(passes with the change; without it the test does not link), reuse ofCopyArray/Destroy, and no conflicts with #3571. Merging.