Update for latest libcore changes.

This commit is contained in:
Josh Matthews 2012-08-15 23:27:55 -04:00
parent fe4b1c92dd
commit 93418d4cc9
9 changed files with 12 additions and 12 deletions

View file

@ -13,7 +13,7 @@ enum DOMString {
null_string
}
type rust_box<T> = {rc: uint, td: *sys::type_desc, next: *(), prev: *(), payload: T};
type rust_box<T> = {rc: uint, td: *sys::TypeDesc, next: *(), prev: *(), payload: T};
unsafe fn squirrel_away<T>(+x: @T) -> *rust_box<T> {
let y: *rust_box<T> = unsafe::reinterpret_cast(x);