View source code
Display the source code in core/gc/registry.d from which this page was generated on github.
Report a bug
If you spot a problem with this page, click here to create a Bugzilla issue.
Improve this page
Quickly fork, edit online, and submit a pull request for this page. Requires a signed-in GitHub account. This works well for small changes. If you'd like to make larger changes you may want to consider using local clone.

Module core.gc.registry

Contains a registry for GC factories.

Functions

NameDescription
createGCInstance(name) Called during runtime initialization to initialize a GC instance of given name.
registerGCFactory(name, factory) Register a GC factory under the given name. This function must be called from a C constructor before druntime is initialized.

Aliases

NameTypeDescription
GCFactory core.gc.gcinterface.GC function() 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.

Authors

Martin Nowak

License

Boost License 1.0.