1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-07 08:37:34 +00:00
Commit graph

1 commit

Author SHA1 Message Date
Andreas Kling
e34e21367e LibJS: Add GCPtr and NonnullGCPtr
These are two new smart pointers that are really just raw pointers under
the hood. The initial benefit is all in the names, they allow us to
declare that we're pointing at something in the GC heap.

Later we may also find ways to add debugging logic or static analysis to
these types.
2022-09-03 00:36:26 +02:00