The OpenD Programming Language

GCFactory

A factory function that instantiates an implementation of the GC interface. In case the instance was allocated on the C heap, it is supposed to free itself upon calling it's destructor.

The factory should print an error and abort the program if it cannot successfully initialize the GC instance.

import core.gc.registry;
alias GCFactory = GC function
()

Meta