Skip to content

Commit

Permalink
Use FFI safe type
Browse files Browse the repository at this point in the history
  • Loading branch information
alexcrichton committed Sep 16, 2015
1 parent 36c8515 commit dbc5d24
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -581,7 +581,7 @@ impl<'a> Generator<'a> {
t!(writeln!(self.rust, r#"
fn fn_{name}() {{
extern {{
fn __test_fn_{name}() -> *mut ();
fn __test_fn_{name}() -> *mut u32;
}}
unsafe {{
if !{skip} {{
Expand Down

0 comments on commit dbc5d24

Please sign in to comment.