fruity 0.2.0

Rusty bindings for Apple libraries
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
use std::os::raw::c_char;

/// The boolean value type.
///
/// See [documentation](https://developer.apple.com/documentation/objectivec/bool).
pub type BOOL = c_char;

/// The [`BOOL`](type.BOOL.html) equivalent to
/// [`false`](https://doc.rust-lang.org/std/keyword.false.html).
///
/// See [documentation](https://developer.apple.com/documentation/objectivec/no).
pub const NO: BOOL = 0;

/// The [`BOOL`](type.BOOL.html) equivalent to
/// [`true`](https://doc.rust-lang.org/std/keyword.true.html).
///
/// See [documentation](https://developer.apple.com/documentation/objectivec/yes).
pub const YES: BOOL = 1;