cidre 0.11.6

Apple frameworks bindings for rust
Documentation
1
2
3
4
5
6
7
8
9
10
#[cfg(any(target_os = "ios", target_os = "watchos", target_os = "tvos"))]
#[inline]
pub fn available_memory() -> usize {
    unsafe { os_proc_available_memory() }
}

unsafe extern "C-unwind" {
    #[cfg(any(target_os = "ios", target_os = "watchos", target_os = "tvos"))]
    fn os_proc_available_memory() -> usize;
}