mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2026-06-17 15:25:35 +00:00
Represent WebIDL C++ types with a single CppType model that tracks nullability, optional presence, and contained storage. GC-like values now use GC::Ref/GC::Ptr directly, while containers choose "plain", "Root", or "Conservative" container types depending on what they contain. For example, sequence<Element> becomes a RootVector of GC::Ref values, while sequence<SomeDictionary> becomes a ConservativeVector only when the dictionary contains GC-like values. This moves the generated bindings away from wrapping GC values in GC::Root by default. This has broad fallout as the types passed to interfaces for GC objects changes almost fully across the board. |
||
|---|---|---|
| .. | ||
| TextDecoder.cpp | ||
| TextDecoder.h | ||
| TextDecoder.idl | ||
| TextDecoderCommon.cpp | ||
| TextDecoderCommon.h | ||
| TextDecoderCommon.idl | ||
| TextDecoderStream.cpp | ||
| TextDecoderStream.h | ||
| TextDecoderStream.idl | ||
| TextEncoder.cpp | ||
| TextEncoder.h | ||
| TextEncoder.idl | ||
| TextEncoderCommon.cpp | ||
| TextEncoderCommon.h | ||
| TextEncoderCommon.idl | ||
| TextEncoderStream.cpp | ||
| TextEncoderStream.h | ||
| TextEncoderStream.idl | ||