mirror of
https://github.com/boykopovar/AnyPS5.git
synced 2026-11-03 12:57:27 +00:00
Replace 1137 NotImplemented stubs with implementations that follow the PS5 11.x OSS WebKit source: the API object model and value types, WKPreferences with PlayStation defaults, context, page, website data store and user script configuration objects, the JS* API on QuickJS-NG with libSceJsc strings, WebCore geometry, transform and color values, and WTF allocation, time, string and URL value operations. Exports whose behaviour needs the WebKit engine, the WebCore URL parser or unproven layouts stay stubs; the gaps are in docs/dev/debt/libSceNKWebKit.md. Every export is declared once in headers reachable from the library umbrella. Allocation size, alignment and header overhead are computed with overflow checks and the try variants return null at the boundaries. tryFastMalloc, tryFastZeroedMalloc, tryFastCalloc and tryFastRealloc return WTF::TryMallocReturnValue, which is returned in memory, so they take the caller's result pointer first, store the allocation through it and return it. The libSceJsc string exports that libSceNKWebKit calls are named with the _nid_postfix suffix, so the NID patcher renames those imports along with the exports and the patched libSceNKWebKit.prx resolves them on Linux; their NIDs are unchanged.
12 lines
511 B
C++
12 lines
511 B
C++
#pragma once
|
|
#include "prx/libSceNKWebKit/include/LegacyExports.hpp"
|
|
|
|
#include "prx/libSceNKWebKit/include/Api.hpp"
|
|
#include "prx/libSceNKWebKit/include/InventoryExports.hpp"
|
|
#include "prx/libSceNKWebKit/include/JscExports.hpp"
|
|
#include "prx/libSceNKWebKit/include/WebCoreExports.hpp"
|
|
#include "prx/libSceNKWebKit/include/WebKitConfigExports.hpp"
|
|
#include "prx/libSceNKWebKit/include/WebKitValueExports.hpp"
|
|
#include "prx/libSceNKWebKit/include/WtfExports.hpp"
|
|
#include "prx/libSceNKWebKit/src/Preferences.hpp"
|