Skip to content

Commit

Permalink
Rename RACReduceBlock2 to RACGenericReduceBlock.
Browse files Browse the repository at this point in the history
  • Loading branch information
andersio committed Dec 23, 2017
1 parent bb83815 commit d364c8d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion ReactiveObjC/RACSignal+Operations.h
Original file line number Diff line number Diff line change
Expand Up @@ -197,7 +197,7 @@ extern const NSInteger RACSignalErrorNoMatchingCase;
///
/// Returns a signal which sends the results from each invocation of
/// `reduceBlock`.
+ (RACSignal<ValueType> *)combineLatest:(id<NSFastEnumeration>)signals reduce:(RACReduceBlock2)reduceBlock RAC_WARN_UNUSED_RESULT;
+ (RACSignal<ValueType> *)combineLatest:(id<NSFastEnumeration>)signals reduce:(RACGenericReduceBlock)reduceBlock RAC_WARN_UNUSED_RESULT;


/// Merges the receiver and the given signal with `+merge:` and returns the
Expand Down
2 changes: 1 addition & 1 deletion ReactiveObjC/RACStream.h
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ NS_ASSUME_NONNULL_BEGIN
_Pragma("clang diagnostic push") \
_Pragma("clang diagnostic ignored \"-Wstrict-prototypes\"") \
typedef id _Nullable (^RACReduceBlock)();
typedef ValueType _Nullable (^RACReduceBlock2)();
typedef ValueType _Nullable (^RACGenericReduceBlock)();
_Pragma("clang diagnostic pop")

/// Returns an empty stream.
Expand Down

0 comments on commit d364c8d

Please sign in to comment.