View source code
Display the source code in core/memory.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.
Enum core.memory.GC.BlkAttr
Elements for a bit field representing memory block attributes. These are manipulated via the getAttr, setAttr, clrAttr functions.
enum BlkAttr
: uint { ... }
Enum members
Name | Description |
---|---|
APPENDABLE
|
This block contains the info to allow appending.
This can be used to manually allocate arrays. Initial slice size is 0. NoteThe slice's usable size will not match the block size. Use
Example
|
FINALIZE
|
Finalize the data in this block on collect. |
NO_INTERIOR
|
This block is guaranteed to have a pointer to its base while it is alive. Interior pointers can be safely ignored. This attribute is useful for eliminating false pointers in very large data structures and is only implemented for data structures at least a page in size. |
NO_MOVE
|
Do not move this memory block on collect. |
NO_SCAN
|
Do not scan through this block on collect. |
NONE
|
No attributes set. |
Authors
Sean Kelly, Alex Rønne Petersen
License
Copyright © 1999-2024 by the D Language Foundation | Page generated by ddox.