//! Bindings to [ChaN's FatFs][FatFs]. //! //! [FatFs]: http://elm-chan.org/fsw/ff/00index_e.html #![doc(html_root_url = "https://docs.rs/drone-fatfs-raw/0.2.3")] #![allow(non_upper_case_globals)] #![allow(non_camel_case_types)] #![allow(non_snake_case)] #![no_std] extern crate drone_ctypes; include!(concat!(env!("OUT_DIR"), "/bindings.rs")); #[inline(always)] pub unsafe fn f_size(fp: *mut FIL) -> FSIZE_t { (*fp).obj.objsize } #[inline(always)] pub unsafe fn f_tell(fp: *mut FIL) -> FSIZE_t { (*fp).fptr }