Use a sample to indicate a reader EOF.
This commit is contained in:
1 parent
54437f9030
commit
6a2b4a1fad
12 files changed
+121
-71
No files matched your search
+1
-8
@@ -14,14 +14,7 @@ NS_ASSUME_NONNULL_BEGIN
|
||||
* A simple heap/priority queue implementations with a static size.
|
||||
* It takes a NSComparator in input.
|
||||
*/
|
||||
@interface MP42Heap<ObjectType> : NSObject {
|
||||
@private
|
||||
id *_array;
|
||||
uint64 _size;
|
||||
uint64 _len;
|
||||
|
||||
NSComparator _cmptr;
|
||||
}
|
||||
@interface MP42Heap<ObjectType> : NSObject
|
||||
|
||||
- (instancetype)initWithCapacity:(NSUInteger)numItems andComparator:(NSComparator)cmptr;
|
||||
|
||||
|
||||
Reference in new issue
Block a user