1 use std::os::raw::{c_int, c_void}; 2 3 pub enum __SecRandom {} 4 pub type SecRandomRef = *const __SecRandom; 5 6 extern "C" { 7 pub static kSecRandomDefault: SecRandomRef; 8 SecRandomCopyBytes(rnd: SecRandomRef, count: usize, bytes: *mut c_void) -> c_int9 pub fn SecRandomCopyBytes(rnd: SecRandomRef, count: usize, bytes: *mut c_void) -> c_int; 10 } 11