Skip to content

Commit faa5a92

Browse files
committed
Merge branch 'master' into pull
2 parents 631df10 + d7eb46c commit faa5a92

File tree

4 files changed

+6
-6
lines changed

4 files changed

+6
-6
lines changed

ObjectiveGit/GTConfiguration+Private.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,6 @@
1818
/// repository - The repository in which the config resides. May be nil.
1919
///
2020
/// Returns the initialized object.
21-
- (nullable instancetype)initWithGitConfig:(git_config *)config repository:(nullable GTRepository *)repository NS_DESIGNATED_INITIALIZER;
21+
- (nullable instancetype)initWithGitConfig:(nonnull git_config *)config repository:(nullable GTRepository *)repository NS_DESIGNATED_INITIALIZER;
2222

2323
@end

ObjectiveGit/GTDiff+Private.h

+1-1
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:(int (^)(git_diff_options *optionsStruct))block;
17+
+ (int)handleParsedOptionsDictionary:(nullable NSDictionary *)dictionary usingBlock:(nonnull int (^)(git_diff_options * __null_unspecified optionsStruct))block;
1818

1919
@end

ObjectiveGit/GTFilter.h

+2-2
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 **payload, GTFilterSource *source, const char **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 **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
///

ObjectiveGit/GTReflog+Private.h

+2-2
Original file line numberDiff line numberDiff line change
@@ -12,13 +12,13 @@
1212

1313
@interface GTReflog ()
1414

15-
- (instancetype)init NS_UNAVAILABLE;
15+
- (nullable instancetype)init NS_UNAVAILABLE;
1616

1717
/// Initializes the receiver with a reference. Designated initializer.
1818
///
1919
/// reference - The reference whose reflog is being represented. Cannot be nil.
2020
///
2121
/// Returns the initialized object.
22-
- (nullable instancetype)initWithReference:(GTReference *)reference NS_DESIGNATED_INITIALIZER;
22+
- (nullable instancetype)initWithReference:(nonnull GTReference *)reference NS_DESIGNATED_INITIALIZER;
2323

2424
@end

0 commit comments

Comments
 (0)