1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-06-01 03:08:13 +00:00

LibJS: Make Handle<T> more user-friendly

Allow *handle, !handle, handle.ptr(), assignment from compatible
pointer types, etc. This is in preparation for using Handles in
more generated code.
This commit is contained in:
Andreas Kling 2022-08-06 15:50:38 +02:00
parent 01828edd37
commit 63cc2650e3
2 changed files with 66 additions and 6 deletions

View file

@ -6,7 +6,6 @@
#include <LibJS/Heap/Cell.h>
#include <LibJS/Heap/Handle.h>
#include <LibJS/Heap/Heap.h>
#include <LibJS/Runtime/VM.h>
namespace JS {