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

Use new objc class macro #226

Merged
merged 1 commit into from Jul 17, 2018
Merged

Use new objc class macro #226

merged 1 commit into from Jul 17, 2018

Conversation

@grovesNL
Copy link
Contributor

grovesNL commented Jul 16, 2018

This PR removes the class function in favor of the new class macro exposed by objc which caches access by class name. Note that this macro should eventually (through procedural macros) be able to link directly to the class.


This change is Reviewable

@grovesNL grovesNL force-pushed the grovesNL:class-macro branch from 1929dc3 to 54464fe Jul 17, 2018
@grovesNL grovesNL force-pushed the grovesNL:class-macro branch from 54464fe to 82978bf Jul 17, 2018
@jdm
Copy link
Member

jdm commented Jul 17, 2018

@bors-servo r+
Thanks!

@bors-servo
Copy link
Contributor

bors-servo commented Jul 17, 2018

📌 Commit 82978bf has been approved by jdm

@bors-servo
Copy link
Contributor

bors-servo commented Jul 17, 2018

Testing commit 82978bf with merge 2bea7c7...

bors-servo added a commit that referenced this pull request Jul 17, 2018
Use new objc class macro

This PR removes the `class` function in favor of the [new `class` macro exposed by objc](SSheldon/rust-objc#65) which caches access by class name. Note that this macro should eventually (through procedural macros) be able to link directly to the class.

<!-- Reviewable:start -->
---
This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/core-foundation-rs/226)
<!-- Reviewable:end -->
@bors-servo
Copy link
Contributor

bors-servo commented Jul 17, 2018

☀️ Test successful - status-travis
Approved by: jdm
Pushing 2bea7c7 to master...

@bors-servo bors-servo merged commit 82978bf into servo:master Jul 17, 2018
2 checks passed
2 checks passed
continuous-integration/travis-ci/pr The Travis CI build passed
Details
homu Test successful
Details
@grovesNL grovesNL deleted the grovesNL:class-macro branch Jun 12, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked issues

Successfully merging this pull request may close these issues.

None yet

3 participants
You can’t perform that action at this time.