Fix when print log string which contains special control characters in doric,cause native crash

This commit is contained in:
pengfei.zhou
2023-02-09 14:06:47 +08:00
committed by jingpeng
parent 54ecddf994
commit fc4628dde9
27 changed files with 895 additions and 1172 deletions

View File

@@ -31,6 +31,10 @@ void DoricLog(NSString *_Nonnull format, ...) {
va_end(args);
}
void DoricSafeLog(NSString *_Nonnull message) {
NSLog(@"%@", message);
}
UIColor *DoricColor(NSNumber *number) {
CGFloat r, g, b, a;
long colorValue = [number longValue];