From 112d01a9510192c1e410c6e51e2b2f4d36bc6b63 Mon Sep 17 00:00:00 2001 From: Matthias Einwag Date: Mon, 20 Jan 2014 21:44:41 +0100 Subject: [PATCH] Disabled the tests for the new code blocks --- doc/guide-ffi.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/doc/guide-ffi.md b/doc/guide-ffi.md index 02c4059dc37..236da56588e 100644 --- a/doc/guide-ffi.md +++ b/doc/guide-ffi.md @@ -263,7 +263,7 @@ to the C library and afterwards be invoked from there. A basic example is: Rust code: -~~~~ +~~~~ {.xfail-test} extern fn callback(a:i32) { println!("I'm called from C with value {0}", a); } @@ -283,7 +283,7 @@ fn main() { ~~~~ C code: -~~~~ +~~~~ {.xfail-test} typedef void (*rust_callback)(int32_t); rust_callback cb; @@ -314,7 +314,7 @@ the notification. This will provide a unsafe possibility to access the referenced Rust object in callback. Rust code: -~~~~ +~~~~ {.xfail-test} struct RustObject { a: i32, @@ -346,7 +346,7 @@ fn main() { ~~~~ C code: -~~~~ +~~~~ {.xfail-test} typedef void (*rust_callback)(int32_t); void* cb_target; rust_callback cb;