GC.removeRoot

Removes the memory block referenced by p from an internal list of roots to be scanned during a collection. If p is null or is not a value previously passed to addRoot() then no operation is performed.

struct GC
extern (C) pragma(mangle, "gc_removeRoot") static nothrow @nogc pure
void
removeRoot
(
const void* p
)

Parameters

p void*

A pointer into a GC-managed memory block or null.

Meta