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 to latest Rust. #4

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

Always

Just for now

Update to latest Rust.

  • Loading branch information
metajack committed Jul 8, 2013
commit 76ca6f2942272a4b0ba104ffe0ab613dbd290cff
@@ -88,7 +88,7 @@ pub struct Parser {
}

impl Drop for Parser {
fn finalize(&self) {
fn drop(&self) {
unsafe { ll::parser::hubbub_parser_destroy(self.hubbub_parser) };
}
}
@@ -492,7 +492,7 @@ pub mod tree_callbacks {
}
}

pub extern fn allocator(ptr: *c_void, len: size_t, _pw: *c_void) -> *c_void {
return unsafe { libc::realloc(ptr, len) };
pub extern fn allocator(ptr: *mut c_void, len: size_t, _pw: *c_void) -> *mut c_void {
unsafe { libc::realloc(ptr, len) }
}

2 ll.rs
@@ -7,7 +7,7 @@
// option. This file may not be copied, modified, or distributed
// except according to those terms.

use std::libc::{c_char, c_int, c_void, size_t};
use std::libc::{c_int, c_void, size_t};

// errors.h

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