about summary refs log tree commit diff
path: root/src/rt/rust_exchange_alloc.cpp
diff options
context:
space:
mode:
authorNiko Matsakis <niko@alum.mit.edu>2013-08-11 13:29:14 -0400
committerNiko Matsakis <niko@alum.mit.edu>2013-08-11 13:59:45 -0400
commit6fe59bf8776f8913aacfb00a2281c94a117b95d1 (patch)
treec149a22cd433599e96bd44250533351826888525 /src/rt/rust_exchange_alloc.cpp
parent3aefb9649d15c16acef4eb465b06b598b3a1f179 (diff)
downloadrust-6fe59bf8776f8913aacfb00a2281c94a117b95d1.tar.gz
rust-6fe59bf8776f8913aacfb00a2281c94a117b95d1.zip
Add a field `borrow_offset` to the type descriptor indicating
what amount a T* pointer must be adjusted to reach the contents
of the box. For `~T` types, this requires knowing the type `T`,
which is not known in the case of objects.
Diffstat (limited to 'src/rt/rust_exchange_alloc.cpp')
0 files changed, 0 insertions, 0 deletions