More cosmetics

This commit is contained in:
galad87 committed 2015-08-27 18:28:54 +02:00
1 parent a074653ec1
commit f6b23874f6
27 files changed
+1018 -933

No files matched your search

+3 -3
View File
@@ -14,7 +14,7 @@ NS_ASSUME_NONNULL_BEGIN
* A simple heap/priority queue implementations with a static size.
* It takes a NSComparator in input.
*/
@interface MP42Heap : NSObject {
@interface MP42Heap<ObjectType> : NSObject {
@private
id *_array;
uint64 _size;
@@ -25,8 +25,8 @@ NS_ASSUME_NONNULL_BEGIN
- (instancetype)initWithCapacity:(NSUInteger)numItems andComparator:(NSComparator)cmptr;
- (void)insert:(id)item;
- (nullable id)extract NS_RETURNS_RETAINED;
- (void)insert:(ObjectType)item;
- (nullable ObjectType)extract NS_RETURNS_RETAINED;
- (NSInteger)count;