extern is no longer needed cause macro magic

This commit is contained in:
Mackenzie Clark 2019-02-04 15:01:28 -08:00
parent 73a8619bc5
commit d231d404cb

View File

@ -59,7 +59,7 @@ fn main() -> Result<()> {
Ok(()) Ok(())
} }
extern "C" fn print_num(n: i32, ctx: &mut vm::Ctx) -> i32 { fn print_num(n: i32, ctx: &mut vm::Ctx) -> i32 {
println!("print_num({})", n); println!("print_num({})", n);
let memory = ctx.memory(0); let memory = ctx.memory(0);