1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
/// Describes an integer.
///
/// When building 32-bit applications, NSInteger is a 32-bit integer. A 64-bit
/// application treats NSInteger as a 64-bit integer.
///
/// See [documentation](https://developer.apple.com/documentation/objectivec/nsinteger).
pub type NSInteger = isize;
/// Describes an unsigned integer.
///
/// When building 32-bit applications, NSUInteger is a 32-bit unsigned integer.
/// A 64-bit application treats NSUInteger as a 64-bit unsigned integer
///
/// See [documentation](https://developer.apple.com/documentation/objectivec/nsuinteger).
pub type NSUInteger = usize;
/// The maximum [`NSInteger`](type.NSInteger.html) value.
///
/// See [documentation](https://developer.apple.com/documentation/objectivec/nsintegermax).
pub const NSIntegerMax: NSInteger = MAX;
/// The minimum [`NSInteger`](type.NSInteger.html) value.
///
/// See [documentation](https://developer.apple.com/documentation/objectivec/nsintegermin).
pub const NSIntegerMin: NSInteger = MIN;
/// The maximum [`NSUInteger`](type.NSUInteger.html) value.
///
/// See [documentation](https://developer.apple.com/documentation/objectivec/nsuintegermax).
pub const NSUIntegerMax: NSUInteger = MAX;
/// The minimum [`NSUInteger`](type.NSUInteger.html) value.
///
/// See [documentation](https://developer.apple.com/documentation/objectivec/nsuintegermin).
pub const NSUIntegerMin: NSUInteger = MIN;