Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

update for language changes #6

Merged
merged 2 commits into from May 2, 2013
Merged
Changes from 1 commit
Commits
File filter...
Filter file types
Jump to…
Jump to file
Failed to load files.

Always

Just for now

Prev

transmute fix

  • Loading branch information
yichoi committed May 2, 2013
commit cdc63964fc3aa923fa60509188c64aa3d870f4da
@@ -27,15 +27,15 @@ mod example1 {
assert!(node.is_not_null());
MyDomNode {
name: unsafe {
let box = cast::transmute(&node);
let box = cast::transmute(node);
cast::bump_box_refcount(box);
box
}
}
}

fn to_void_ptr(&self) -> *libc::c_void {
unsafe { cast::transmute(&self.name) }
unsafe { cast::transmute(self.name) }
}
}

ProTip! Use n and p to navigate between commits in a pull request.
You can’t perform that action at this time.