mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-12-22 14:20:20 +00:00
[NoCopyRendering] In non-VM case, use calloc to get a zerod buffer. (#869)
This commit is contained in:
@@ -19,6 +19,7 @@ NS_ASSUME_NONNULL_BEGIN
|
||||
AS_SUBCLASSING_RESTRICTED
|
||||
@interface ASCGImageBuffer : NSObject
|
||||
|
||||
/// Init a zero-filled buffer with the given length.
|
||||
- (instancetype)initWithLength:(NSUInteger)length;
|
||||
|
||||
@property (readonly) void *mutableBytes NS_RETURNS_INNER_POINTER;
|
||||
|
||||
Reference in New Issue
Block a user