mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2026-06-22 17:30:44 +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. |
||
|---|---|---|
| .. | ||
| Blob.cpp | ||
| Blob.h | ||
| Blob.idl | ||
| BlobURLStore.cpp | ||
| BlobURLStore.h | ||
| File.cpp | ||
| File.h | ||
| File.idl | ||
| FileList.cpp | ||
| FileList.h | ||
| FileList.idl | ||
| FileReader.cpp | ||
| FileReader.h | ||
| FileReader.idl | ||
| FileReaderSync.cpp | ||
| FileReaderSync.h | ||
| FileReaderSync.idl | ||