about summary refs log tree commit diff
path: root/src/rt/rust_kernel.cpp
diff options
context:
space:
mode:
authorblake2-ppc <blake2-ppc>2013-07-10 03:49:32 +0200
committerblake2-ppc <blake2-ppc>2013-07-11 15:54:34 +0200
commit7b1c57713d331266d632c4fa11d4cdfaaa895ac7 (patch)
tree37b59d0c0930e50794d79ecc9607030f6d8f8b28 /src/rt/rust_kernel.cpp
parentf97e64083b10e06286eb621f9dff918362e03fc1 (diff)
downloadrust-7b1c57713d331266d632c4fa11d4cdfaaa895ac7.tar.gz
rust-7b1c57713d331266d632c4fa11d4cdfaaa895ac7.zip
dlist: Introduce a struct Rawlink mimicing Option<T> for a raw pointer
Rawlink<T> holds a *mut T pointer and can convert itself to Option<&mut T>.
The null pointer is of course None.
Diffstat (limited to 'src/rt/rust_kernel.cpp')
0 files changed, 0 insertions, 0 deletions