Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Convert c-like bool to obj-c-like BOOL for REAHasAnimationBlock #3921

Merged
merged 1 commit into from
Jan 9, 2023

Conversation

piaskowyk
Copy link
Member

Summary

Fixes #3800

The type REAHasAnimationBlock is defined as:

typedef BOOL (^REAHasAnimationBlock)(NSNumber *_Nonnull tag, NSString *_Nonnull type);

but lambda from code had bool (^REAHasAnimationBlock)(NSNumber *_Nonnull tag, NSString *_Nonnull type) type and it was breaking some build configurations.

@piaskowyk piaskowyk requested a review from tomekzaw January 9, 2023 11:44
@piaskowyk piaskowyk merged commit 2975d15 into main Jan 9, 2023
@piaskowyk piaskowyk deleted the @piaskowyk/fix-returning-type-hasLayoutAnimation branch January 9, 2023 12:36
fluiddot pushed a commit to wordpress-mobile/react-native-reanimated that referenced this pull request Jun 5, 2023
…software-mansion#3921)

## Summary

Fixes software-mansion#3800

The type `REAHasAnimationBlock` is defined as:
```obj-c
typedef BOOL (^REAHasAnimationBlock)(NSNumber *_Nonnull tag, NSString *_Nonnull type);
```
but lambda from code had `bool (^REAHasAnimationBlock)(NSNumber *_Nonnull tag, NSString *_Nonnull type)` type and it was breaking some build configurations.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

MacCatalyst Failed to Build on "3.0.0-rc.6"
2 participants