@@ -23,17 +23,17 @@ interface Crashlytics
2323 [ Export ( "log:" ) ]
2424 void Log ( string message ) ;
2525
26- // -(void)setCustomValue:(id _Nonnull )value forKey:(NSString * _Nonnull)key;
26+ // -(void)setCustomValue:(id _Nullable )value forKey:(NSString * _Nonnull)key;
2727 [ Export ( "setCustomValue:forKey:" ) ]
28- void SetCustomValue ( NSObject value , string key ) ;
28+ void SetCustomValue ( [ NullAllowed ] NSObject value , string key ) ;
2929
3030 // -(void)setCustomKeysAndValues:(NSDictionary * _Nonnull)keysAndValues;
3131 [ Export ( "setCustomKeysAndValues:" ) ]
3232 void SetCustomKeysAndValues ( NSDictionary < NSString , NSObject > keysAndValues ) ;
3333
34- // -(void)setUserID:(NSString * _Nonnull )userID;
34+ // -(void)setUserID:(NSString * _Nullable )userID;
3535 [ Export ( "setUserID:" ) ]
36- void SetUserId ( string userId ) ;
36+ void SetUserId ( [ NullAllowed ] string userId ) ;
3737
3838 // -(void)recordError:(NSError * _Nonnull)error __attribute__((swift_name("record(error:)")));
3939 [ Export ( "recordError:" ) ]
@@ -131,16 +131,16 @@ interface CrashlyticsReport {
131131 [ Export ( "log:" ) ]
132132 void Log ( string msg ) ;
133133
134- // -(void)setCustomValue:(id _Nonnull )value forKey:(NSString * _Nonnull)key;
134+ // -(void)setCustomValue:(id _Nullable )value forKey:(NSString * _Nonnull)key;
135135 [ Export ( "setCustomValue:forKey:" ) ]
136- void SetCustomValue ( NSObject value , string key ) ;
136+ void SetCustomValue ( [ NullAllowed ] NSObject value , string key ) ;
137137
138138 // -(void)setCustomKeysAndValues:(NSDictionary * _Nonnull)keysAndValues;
139139 [ Export ( "setCustomKeysAndValues:" ) ]
140140 void SetCustomKeysAndValues ( NSDictionary < NSString , NSObject > keysAndValues ) ;
141141
142- // -(void)setUserID:(NSString * _Nonnull )userID;
142+ // -(void)setUserID:(NSString * _Nullable )userID;
143143 [ Export ( "setUserID:" ) ]
144- void SetUserID ( string userID ) ;
144+ void SetUserID ( [ NullAllowed ] string userID ) ;
145145 }
146146}
0 commit comments