mirror of
https://github.com/servo/servo.git
synced 2025-08-06 06:00:15 +01:00
Update for latest libcore changes.
This commit is contained in:
parent
fe4b1c92dd
commit
93418d4cc9
9 changed files with 12 additions and 12 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue