View source code
Display the source code in 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 gc.registry
Contains a registry for GC factories.
Functions
Name | Description |
---|---|
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
Name | Type | Description |
---|---|---|
GCFactory
|
gc
|
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
Copyright © 1999-2022 by the D Language Foundation | Page generated by ddox.