objc2_core_text/
lib.rs

1//! # Bindings to the `CoreText` framework
2//!
3//! See [Apple's docs][apple-doc] and [the general docs on framework crates][framework-crates] for more information.
4//!
5//! [apple-doc]: https://developer.apple.com/documentation/coretext/
6//! [framework-crates]: https://docs.rs/objc2/latest/objc2/topics/about_generated/index.html
7#![no_std]
8#![cfg_attr(feature = "unstable-darwin-objc", feature(darwin_objc))]
9#![cfg_attr(docsrs, feature(doc_cfg))]
10// Update in Cargo.toml as well.
11#![doc(html_root_url = "https://docs.rs/objc2-core-text/0.3.2")]
12
13#[cfg(feature = "alloc")]
14extern crate alloc;
15
16#[cfg(feature = "std")]
17extern crate std;
18
19mod generated;
20mod thread_safety;
21
22#[allow(unused_imports, unreachable_pub)]
23pub use self::generated::*;
24
25#[allow(dead_code)]
26pub(crate) type Fixed = i32;
27#[allow(dead_code)]
28pub(crate) type FourCharCode = u32;
29#[allow(dead_code)]
30pub(crate) type ConstStr255Param = *const core::ffi::c_char;
31#[allow(dead_code)]
32pub(crate) type UniChar = u16;