ConservativeGC.addRoot

void addRoot(void * p) nothrow @nogc

Add p to list of roots. If p is null, no operation is performed.

Parameters

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