Skip to content

[NSGeometry] Use CGFloat.NativeType instead of hardcoded Double #632

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

Merged
merged 1 commit into from
Sep 13, 2016

Conversation

rintaro
Copy link
Member

@rintaro rintaro commented Sep 13, 2016

CGFloat.NativeType is Float on 32bit platforms.

@rintaro rintaro force-pushed the nsgeometry-cgfloatnative branch from 9843a41 to 48cdf9e Compare September 13, 2016 13:35
@rintaro
Copy link
Member Author

rintaro commented Sep 13, 2016

@swift-ci please test

@parkera
Copy link
Contributor

parkera commented Sep 13, 2016

We are having a related discussion about this in #622. Should some of the changes to CGFloat there be in this PR instead?

@parkera
Copy link
Contributor

parkera commented Sep 13, 2016

Also #628

@xwu
Copy link
Contributor

xwu commented Sep 13, 2016

IMO, this PR has standalone value as it fixes issues on 32-bit platforms independent of the Android-related issues. The remaining CGFloat issues may have to do with build configuration tweaking specific to Android.

@johnno1962
Copy link
Contributor

This version compiles fine for Android. I’ll close my PR and revert CGFloat.swift and merge this file.

@parkera parkera merged commit 705aa96 into swiftlang:master Sep 13, 2016
@rintaro rintaro deleted the nsgeometry-cgfloatnative branch September 24, 2016 13:45
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.

4 participants