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

Fix DISABLE_SWIZZLING compilation #1805

Merged
merged 1 commit into from
Dec 14, 2018
Merged

Conversation

Reflejo
Copy link
Contributor

@Reflejo Reflejo commented Nov 18, 2018

Some methods under the compiler flag are being used by RxCocoa's proxy delegate. So this commit is moving these outside the conditional.

Fixes #1804

@Reflejo Reflejo changed the base branch from master to develop November 18, 2018 19:22
Some methods under the compiler flag are being used by RxCocoa's proxy
delegate. So this commit is moving these outside the conditional.
@@ -98,5 +100,3 @@ BOOL RX_is_method_signature_void(NSMethodSignature * __nonnull methodSignature);

/// Default value for `RXInterceptionObserver.targetImplementation`.
IMP __nonnull RX_default_target_implementation(void);
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't think this needs to be included, right?

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think that we just need to expose

/// Returns `YES` in case method has `void` return type.
BOOL RX_is_method_with_description_void(struct objc_method_description method);
 /// Extracts arguments for `invocation`.
NSArray * __nonnull RX_extract_arguments(NSInvocation * __nonnull invocation);
 /// Returns `YES` in case methodSignature has `void` return type.
BOOL RX_is_method_signature_void(NSMethodSignature * __nonnull methodSignature);

@kzaher kzaher merged commit 52d9967 into ReactiveX:develop Dec 14, 2018
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.

2 participants