View source code
Display the source code in dmd/backend/dt.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.

Struct dmd.backend.dt.DtBuilder

struct DtBuilder ;

Methods

NameDescription
abytes Write a reference to the data ptr[0..size+nzeros]
cat Append dt to data.
cat Append dtb to data.
coff Write reference to offset in code segment.
dtoff Create a reference to another dt.
dword Write 4 bytes of value.
finish Finish and return completed data structure.
isZeroLength Return true if size of data is 0.
length Return size of data.
nbytes Append data represented by ptr[0..size]
nzeros Write a bunch of zeros
repeat Repeat a list of dt_t's count times.
size Write a size_t value.
xoff Write a reference to s+offset
xoff Create reference to s+offset
xoffpatch Like xoff(), but returns handle with which to patch 'offset' value.

Authors

Walter Bright

License

Boost License 1.0