Adopt objc direct attributes where possible.

This commit is contained in:
Damiano Galassi committed 2020-07-01 19:48:11 +02:00
1 parent b9eb2a8993
commit f63e23f878
66 files changed
+223 -131

No files matched your search

+2
View File
@@ -7,6 +7,7 @@
//
#import <Foundation/Foundation.h>
#import "MP42Utilities.h"
NS_ASSUME_NONNULL_BEGIN
@@ -14,6 +15,7 @@ NS_ASSUME_NONNULL_BEGIN
* A simple heap/priority queue implementations with a static size.
* It takes a NSComparator in input.
*/
MP42_OBJC_DIRECT_MEMBERS
@interface MP42Heap<ObjectType> : NSObject
- (instancetype)initWithCapacity:(NSUInteger)numItems comparator:(NSComparator)cmptr;