rust_macios/foundation/
globals.rs1use super::NSEdgeInsets;
2
3pub const UTF8_ENCODING: usize = 4;
5
6pub mod ns_localekey {
8 use crate::foundation::NSLocaleKey;
9
10 extern "C" {
11 #[link_name = "NSLocaleIdentifier"]
13 pub static Identifier: NSLocaleKey;
14
15 #[link_name = "NSLocaleCountryCode"]
17 pub static CountryCode: NSLocaleKey;
18
19 #[link_name = "NSLocaleLanguageCode"]
21 pub static LanguageCode: NSLocaleKey;
22
23 #[link_name = "NSLocaleScriptCode"]
25 pub static ScriptCode: NSLocaleKey;
26
27 #[link_name = "NSLocaleVariantCode"]
29 pub static VariantCode: NSLocaleKey;
30
31 #[link_name = "NSLocaleExemplarCharacterSet"]
33 pub static ExemplarCharacterSet: NSLocaleKey;
34
35 #[link_name = "NSLocaleCalendar"]
37 pub static Calendar: NSLocaleKey;
38
39 #[link_name = "NSLocaleCollationIdentifier"]
41 pub static CollationIdentifier: NSLocaleKey;
42
43 #[link_name = "NSLocaleCollatorIdentifier"]
45 pub static CollatorIdentifier: NSLocaleKey;
46
47 #[link_name = "NSLocaleUsesMetricSystem"]
49 pub static UsesMetricSystem: NSLocaleKey;
50
51 #[link_name = "NSLocaleMeasurementSystem"]
53 pub static MeasurementSystem: NSLocaleKey;
54
55 #[link_name = "NSLocaleDecimalSeparator"]
57 pub static DecimalSeparator: NSLocaleKey;
58
59 #[link_name = "NSLocaleGroupingSeparator"]
61 pub static GroupingSeparator: NSLocaleKey;
62
63 #[link_name = "NSLocaleCurrencySymbol"]
65 pub static CurrencySymbol: NSLocaleKey;
66
67 #[link_name = "NSLocaleCurrencyCode"]
69 pub static CurrencyCode: NSLocaleKey;
70
71 #[link_name = "NSLocaleQuotationBeginSymbol"]
73 pub static QuotationBeginSymbol: NSLocaleKey;
74
75 #[link_name = "NSLocaleQuotationEndSymbol"]
77 pub static QuotationEndSymbol: NSLocaleKey;
78
79 #[link_name = "NSLocaleAlternateQuotationBeginSymbol"]
81 pub static AlternateQuotationBeginSymbol: NSLocaleKey;
82
83 #[link_name = "NSLocaleAlternateQuotationEndSymbol"]
85 pub static AlternateQuotationEndSymbol: NSLocaleKey;
86 }
87}
88
89extern "C" {
90 pub static NSEdgeInsetsZero: NSEdgeInsets;
92}