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

Next

update for language changes

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

fn to_void_ptr(&self) -> *libc::c_void {
unsafe { cast::reinterpret_cast(&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.