Fix when print log string which contains special control characters in doric,cause native crash
This commit is contained in:
@@ -27,8 +27,11 @@
|
||||
extern "C"
|
||||
{
|
||||
#endif
|
||||
|
||||
void DoricLog(NSString *_Nonnull format, ...);
|
||||
|
||||
void DoricSafeLog(NSString *_Nonnull message);
|
||||
|
||||
UIColor *_Nonnull DoricColor(NSNumber *_Nonnull number);
|
||||
|
||||
NSNumber *_Nonnull DoricColorToNumber(UIColor *_Nonnull color);
|
||||
@@ -50,6 +53,7 @@ void ShowToastInVC(UIViewController *_Nonnull vc, NSString *_Nonnull text, Doric
|
||||
UIImage *_Nonnull UIImageWithColor(UIColor *_Nonnull color);
|
||||
|
||||
BOOL hasNotch(void);
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user