Repository navigation
feat(libSceNpWebApi): register internal service push event callbacks - #16660
Merged
oneandonlydean merged 2 commits intoNov 9, 2026
Merged
oneandonlydean merged 2 commits into
oneandonlydean merged 2 commits into
Conversation
|
Some comparisons could not be completed because a pull request conflicts with the base branch. Review these shared files manually before concluding that there is no overlap.
|
Contributor
|
Windows check of head Setup: Windows 11 Enterprise 22621, WinLibs GCC 15.2 UCRT, Release. The hosted Windows check does not run these tests on pull requests.
AI-assisted: yes. |
Progress report (47aba8e → 2e75c4f)📈 System libraries: 35.06% (+0.01%, +2 implemented functions) ✅ 2 implemented
Changed libraries (implemented exports)
|
…ervice-push-callbacks # Conflicts: # docs/dev/debt/libSceNpWebApi.md
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Supersedes #16112, which GitHub closed when the head fork was deleted. The commits are unchanged; earlier review comments and Windows checks are on #16112.
What
sceNpWebApiIntRegisterServicePushEventCallbackandsceNpWebApiIntRegisterServicePushEventCallbackAwere parameterless placeholders that threw. In shadPS4 they refuse a null callback withINVALID_ARGUMENTon every SDK version, then go through the same registration assceNpWebApiRegisterServicePushEventCallback.The public export's body after its SDK-gated null check now lives in a helper that all three call. The behaviour of the public export is unchanged.
SERVICE_PUSH_EVENT_FILTER_NOT_FOUND; below it they return a callback id, as the public export does.Not measured on a console.
Tested
Ubuntu 26.04.1, kernel 7.0.0, GCC 15.2.0, Release,
BUILD_TESTING=ON, on main6e6dae4e8b. Windows and macOS were not compiled here. No title was run.guest_np_web_apipasses. New cases for both exports: a null callback, an unknown user context and a push (not service) filter on the current SDK; before SDK 1.00, a null callback refused before the user context lookup, and successful registration and unregistration.the int service callback function is checked before the user context before SDK 1.00; restoring it passes.check_conventions.py --base upstream/mainpasses.pr_overlap.pylisted draft #13486 for these names, but its current diff (three relinker files) does not touch them. #14212 only respaces the debt file.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)