@@ -30,12 +30,14 @@ * memory. */ OF_SUBCLASSING_RESTRICTED @interface OFSecureData: OFData { + unsigned char *_Nullable _items; + size_t _count, _itemSize; + bool _freeWhenDone, _allowsSwappableMemory; void *_page; - bool _allowsSwappableMemory; } /** * @brief Whether the data may be stored in swappable memory. */ @@ -133,10 +135,12 @@ - (instancetype)initWithCount: (size_t)count itemSize: (size_t)itemSize allowsSwappableMemory: (bool)allowsSwappableMemory OF_DESIGNATED_INITIALIZER; +- (instancetype)init OF_UNAVAILABLE; +- (instancetype)initWithItemSize: (size_t)itemSize OF_UNAVAILABLE; - (instancetype)initWithItems: (const void *)items count: (size_t)count OF_UNAVAILABLE; - (instancetype)initWithItems: (const void *)items count: (size_t)count itemSize: (size_t)itemSize OF_UNAVAILABLE;