@@ -54,7 +54,7 @@ struct _NSObjectBridge {
54
54
struct _NSArrayBridge {
55
55
CFIndex (* _Nonnull count )(CFTypeRef obj );
56
56
_Nonnull CFTypeRef (* _Nonnull objectAtIndex )(CFTypeRef obj , CFIndex index );
57
- void (* _Nonnull getObjects )(CFTypeRef array , CFRange range , CFTypeRef _Nullable * _Nonnull values );
57
+ void (* _Nonnull getObjects )(CFTypeRef array , CFRange range , CFTypeRef _Nonnull * _Nonnull values );
58
58
};
59
59
60
60
struct _NSMutableArrayBridge {
@@ -73,11 +73,11 @@ struct _NSDictionaryBridge {
73
73
CFIndex (* countForKey )(CFTypeRef dictionary , CFTypeRef key );
74
74
bool (* containsKey )(CFTypeRef dictionary , CFTypeRef key );
75
75
_Nullable CFTypeRef (* _Nonnull objectForKey )(CFTypeRef dictionary , CFTypeRef key );
76
- bool (* _getValueIfPresent )(CFTypeRef dictionary , CFTypeRef key , CFTypeRef _Nullable * _Nullable value );
76
+ bool (* _getValueIfPresent )(CFTypeRef dictionary , CFTypeRef key , CFTypeRef _Nonnull * _Nullable value );
77
77
CFIndex (* __getValue )(CFTypeRef dictionary , CFTypeRef value , CFTypeRef key );
78
78
bool (* containsObject )(CFTypeRef dictionary , CFTypeRef value );
79
79
CFIndex (* countForObject )(CFTypeRef dictionary , CFTypeRef value );
80
- void (* getObjects )(CFTypeRef dictionary , CFTypeRef _Nullable * _Nullable valuebuf , CFTypeRef _Nullable * _Nullable keybuf );
80
+ void (* getObjects )(CFTypeRef dictionary , CFTypeRef _Nonnull * _Nonnull valuebuf , CFTypeRef _Nonnull * _Nonnull keybuf );
81
81
void (* __apply )(CFTypeRef dictionary , void (* applier )(CFTypeRef key , CFTypeRef value , void * context ), void * context );
82
82
};
83
83
@@ -104,7 +104,7 @@ struct _NSStringBridge {
104
104
CFIndex (* length )(CFTypeRef str );
105
105
UniChar (* characterAtIndex )(CFTypeRef str , CFIndex idx );
106
106
void (* getCharacters )(CFTypeRef str , CFRange range , UniChar * buffer );
107
- CFIndex (* __getBytes )(CFTypeRef str , CFStringEncoding encoding , CFRange range , uint8_t * _Nullable buffer , CFIndex maxBufLen , CFIndex * _Nullable usedBufLen );
107
+ CFIndex (* __getBytes )(CFTypeRef str , CFStringEncoding encoding , CFRange range , uint8_t * buffer , CFIndex maxBufLen , CFIndex * usedBufLen );
108
108
const char * _Nullable (* _Nonnull _fastCStringContents )(CFTypeRef str );
109
109
const UniChar * _Nullable (* _Nonnull _fastCharacterContents )(CFTypeRef str );
110
110
bool (* _getCString )(CFTypeRef str , char * buffer , size_t len , UInt32 encoding );
@@ -123,15 +123,15 @@ struct _NSMutableStringBridge {
123
123
124
124
struct _NSXMLParserBridge {
125
125
_CFXMLInterface _Nullable (* _Nonnull currentParser )();
126
- _CFXMLInterfaceParserInput _Nullable (* _Nonnull _xmlExternalEntityWithURL )(_CFXMLInterface interface , const char * url , const char * identifier , _CFXMLInterfaceParserContext context , _CFXMLInterfaceExternalEntityLoader originalLoaderFunction );
126
+ _CFXMLInterfaceParserInput _Nonnull (* _Nonnull _xmlExternalEntityWithURL )(_CFXMLInterface interface , const char * url , const char * identifier , _CFXMLInterfaceParserContext context , _CFXMLInterfaceExternalEntityLoader originalLoaderFunction );
127
127
128
128
_CFXMLInterfaceParserContext _Nonnull (* _Nonnull getContext )(_CFXMLInterface ctx );
129
129
130
130
void (* internalSubset )(_CFXMLInterface ctx , const unsigned char * name , const unsigned char * ExternalID , const unsigned char * SystemID );
131
131
int (* isStandalone )(_CFXMLInterface ctx );
132
132
int (* hasInternalSubset )(_CFXMLInterface ctx );
133
133
int (* hasExternalSubset )(_CFXMLInterface ctx );
134
- _CFXMLInterfaceEntity _Nullable (* _Nonnull getEntity )(_CFXMLInterface ctx , const unsigned char * name );
134
+ _CFXMLInterfaceEntity _Nonnull (* _Nonnull getEntity )(_CFXMLInterface ctx , const unsigned char * name );
135
135
void (* notationDecl )(_CFXMLInterface ctx ,
136
136
const unsigned char * name ,
137
137
const unsigned char * publicId ,
@@ -156,16 +156,16 @@ struct _NSXMLParserBridge {
156
156
void (* endDocument )(_CFXMLInterface ctx );
157
157
void (* startElementNs )(_CFXMLInterface ctx ,
158
158
const unsigned char * localname ,
159
- const unsigned char * _Nullable prefix ,
159
+ const unsigned char * prefix ,
160
160
const unsigned char * URI ,
161
161
int nb_namespaces ,
162
- const unsigned char * _Nullable * _Nonnull namespaces ,
162
+ const unsigned char * _Nonnull * _Nonnull namespaces ,
163
163
int nb_attributes ,
164
164
int nb_defaulted ,
165
- const unsigned char * _Nullable * _Nonnull attributes );
165
+ const unsigned char * _Nonnull * _Nonnull attributes );
166
166
void (* endElementNs )(_CFXMLInterface ctx ,
167
167
const unsigned char * localname ,
168
- const unsigned char * _Nullable prefix ,
168
+ const unsigned char * prefix ,
169
169
const unsigned char * URI );
170
170
void (* characters )(_CFXMLInterface ctx ,
171
171
const unsigned char * ch ,
@@ -239,7 +239,7 @@ extern CFWriteStreamRef _CFWriteStreamCreateFromFileDescriptor(CFAllocatorRef al
239
239
extern _Nullable CFDateRef CFCalendarCopyGregorianStartDate (CFCalendarRef calendar );
240
240
extern void CFCalendarSetGregorianStartDate (CFCalendarRef calendar , CFDateRef date );
241
241
242
- CF_PRIVATE CF_EXPORT char * _Nullable * _Nonnull _CFEnviron (void );
242
+ CF_PRIVATE CF_EXPORT char * _Nonnull * _Nonnull _CFEnviron (void );
243
243
244
244
CF_EXPORT void CFLog1 (CFLogLevel lev , CFStringRef message );
245
245
0 commit comments