src/is_blank.rs in faster_path-0.1.5 vs src/is_blank.rs in faster_path-0.1.6
- old
+ new
@@ -1,4 +1,8 @@
+use libc::c_char;
+use std::ffi::{CStr};
+use std::str;
+
#[no_mangle]
pub extern fn is_blank(string: *const c_char) -> bool {
let c_str = unsafe {
assert!(!string.is_null());