5#ifndef INCLUDE_CPPGC_EXPLICIT_MANAGEMENT_H_
6#define INCLUDE_CPPGC_EXPLICIT_MANAGEMENT_H_
23bool Resize(T&
object, AdditionalBytes additional_bytes);
62 static_assert(IsGarbageCollectedTypeV<T>,
63 "Object must be of type GarbageCollected.");
91 static_assert(IsGarbageCollectedTypeV<T>,
92 "Object must be of type GarbageCollected.");
94 &
object,
sizeof(T) + additional_bytes.
value);
Definition: heap-handle.h:21
Definition: explicit-management.h:29
friend void subtle::FreeUnreferencedObject(HeapHandle &, T &)
friend bool subtle::Resize(T &, AdditionalBytes)
bool Resize(T &object, AdditionalBytes additional_bytes)
Definition: explicit-management.h:90
void FreeUnreferencedObject(HeapHandle &heap_handle, T &object)
Definition: explicit-management.h:61
Definition: allocation.h:38
Definition: allocation.h:219
const size_t value
Definition: allocation.h:221
#define V8_EXPORT
Definition: v8config.h:793