mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-01-22 17:24:48 -05:00
3bfb0534be
Let's try to make it a bit more clear that this is a Vector of GC roots.
35 lines
531 B
C++
35 lines
531 B
C++
/*
|
|
* Copyright (c) 2024, Shannon Booth <shannon@serenityos.org>
|
|
*
|
|
* SPDX-License-Identifier: BSD-2-Clause
|
|
*/
|
|
|
|
#pragma once
|
|
|
|
#include <AK/Types.h>
|
|
|
|
namespace GC {
|
|
|
|
class Cell;
|
|
class CellAllocator;
|
|
class DeferGC;
|
|
class ForeignCell;
|
|
class RootImpl;
|
|
class Heap;
|
|
class HeapBlock;
|
|
class NanBoxedValue;
|
|
class WeakContainer;
|
|
|
|
template<typename T>
|
|
class Function;
|
|
|
|
template<class T>
|
|
class Root;
|
|
|
|
template<class T, size_t inline_capacity = 0>
|
|
class ConservativeVector;
|
|
|
|
template<class T, size_t inline_capacity = 0>
|
|
class RootVector;
|
|
|
|
}
|