#![allow( | |
dead_code, | |
non_snake_case, | |
non_camel_case_types, | |
non_upper_case_globals | |
)] | |
#![cfg(target_os = "macos")] | |
#[macro_use] | |
extern crate objc; | |
#[allow(non_camel_case_types)] | |
pub type id = *mut objc::runtime::Object; | |
extern "C" { | |
pub static mut object: id; | |
} | |
extern "C" { | |
pub static mut selector: objc::runtime::Sel; | |
} | |
extern "C" { | |
pub fn f(object: id, selector: objc::runtime::Sel); | |
} |