#![doc = include_str!("../examples/delegate.rs")]
#![doc = include_str!("../examples/nspasteboard.rs")]
#![no_std]
#![cfg_attr(docsrs, feature(doc_auto_cfg))]
#![doc(html_root_url = "https://docs.rs/objc2-app-kit/0.2.2")]
#![recursion_limit = "512"]
#![allow(non_snake_case)]
#![allow(unused_imports)]
#![allow(unreachable_pub)]
#[cfg(feature = "alloc")]
extern crate alloc;
#[cfg(feature = "std")]
extern crate std;
#[cfg_attr(feature = "gnustep-1-7", link(name = "gnustep-gui", kind = "dylib"))]
extern "C" {}
#[allow(dead_code)]
pub(crate) const TARGET_ABI_USES_IOS_VALUES: bool =
!cfg!(any(target_arch = "x86", target_arch = "x86_64")) || cfg!(not(target_os = "macos"));
#[cfg(feature = "NSApplication")]
mod application;
mod generated;
#[cfg(feature = "NSImage")]
mod image;
#[cfg(feature = "NSText")]
mod text;
#[cfg(feature = "NSApplication")]
pub use self::application::*;
pub use self::generated::*;
#[cfg(feature = "NSImage")]
pub use self::image::*;
#[cfg(feature = "NSText")]
pub use self::text::*;
#[allow(unused)]
pub(crate) type UTF32Char = u32;
#[cfg(test)]
mod tests {
#[test]
#[cfg(feature = "NSAccessibilityProtocols")]
fn accessibility_element_protocol() {
use crate::NSAccessibilityElementProtocol;
use objc2::ProtocolType;
let actual = <dyn NSAccessibilityElementProtocol>::NAME;
assert_eq!(actual, "NSAccessibilityElement");
}
}