Skip to content

Commit 8d9f2b5

Browse files
committed
- Changed new "_Null_unspecified" to older "__null_unspecified" so it works in Xcode 6 as well as 7.
1 parent 1953ebe commit 8d9f2b5

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

ObjectiveGit/GTDiff+Private.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,6 @@
1414
/// provides a pointer to that structure to the given `block`.
1515
///
1616
/// Returns the result of invoking `block`.
17-
+ (int)handleParsedOptionsDictionary:(nullable NSDictionary *)dictionary usingBlock:(nonnull int (^)(git_diff_options * _Null_unspecified optionsStruct))block;
17+
+ (int)handleParsedOptionsDictionary:(nullable NSDictionary *)dictionary usingBlock:(nonnull int (^)(git_diff_options * __null_unspecified optionsStruct))block;
1818

1919
@end

ObjectiveGit/GTFilter.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ extern const NSInteger GTFilterErrorNameAlreadyRegistered;
3434

3535
/// The check block. Determines whether the `applyBlock` should be run for given
3636
/// source.
37-
@property (nonatomic, copy) BOOL (^checkBlock)(void * _Null_unspecified * _Null_unspecified payload, GTFilterSource *source, const char * _Null_unspecified * _Null_unspecified attr_values);
37+
@property (nonatomic, copy) BOOL (^checkBlock)(void * __null_unspecified * __null_unspecified payload, GTFilterSource *source, const char * __null_unspecified * __null_unspecified attr_values);
3838

3939
/// The cleanup block. Called after the `applyBlock` to given the filter a
4040
/// chance to clean up the `payload`.
@@ -49,7 +49,7 @@ extern const NSInteger GTFilterErrorNameAlreadyRegistered;
4949
/// applyBlock - The block to use to apply the filter. Cannot be nil.
5050
///
5151
/// Returns the initialized object.
52-
- (nullable instancetype)initWithName:(NSString *)name attributes:(nullable NSString *)attributes applyBlock:(NSData * (^)(void *_Null_unspecified * _Null_unspecified payload, NSData *from, GTFilterSource *source, BOOL *applied))applyBlock NS_DESIGNATED_INITIALIZER;
52+
- (nullable instancetype)initWithName:(NSString *)name attributes:(nullable NSString *)attributes applyBlock:(NSData * (^)(void *__null_unspecified * __null_unspecified payload, NSData *from, GTFilterSource *source, BOOL *applied))applyBlock NS_DESIGNATED_INITIALIZER;
5353

5454
/// Look up a filter based on its name.
5555
///

0 commit comments

Comments
 (0)