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

Add CF(Mutable)AttributedString and a couple helpers #223

Merged
merged 1 commit into from Jul 6, 2018

Conversation

@mehcode
Copy link
Contributor

mehcode commented Jul 6, 2018

Just declared stuff that I'm using. Copied the basic template from CFString.


This change is Reviewable

Copy link
Collaborator

jrmuizel left a comment

The commit message should presumably be CFAttr... instead of CGAttr...

@mehcode mehcode changed the title Add CG(Mutable)AttributedString and a couple helpers Add CF(Mutable)AttributedString and a couple helpers Jul 6, 2018
@mehcode mehcode force-pushed the mehcode:feature/attributed-string branch from c3f4602 to 1d36907 Jul 6, 2018
@mehcode
Copy link
Contributor Author

mehcode commented Jul 6, 2018

Had CG in my brain when I typed that I guess. Fixed.

@jrmuizel
Copy link
Collaborator

jrmuizel commented Jul 6, 2018

@bors-servo
Copy link
Contributor

bors-servo commented Jul 6, 2018

📌 Commit 1d36907 has been approved by jrmuizel

@bors-servo
Copy link
Contributor

bors-servo commented Jul 6, 2018

Testing commit 1d36907 with merge 6074cde...

bors-servo added a commit that referenced this pull request Jul 6, 2018
Add CF(Mutable)AttributedString and a couple helpers

Just declared stuff that I'm using. Copied the basic template from CFString.

----

<!-- 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/223)
<!-- Reviewable:end -->
@bors-servo
Copy link
Contributor

bors-servo commented Jul 6, 2018

☀️ Test successful - status-travis
Approved by: jrmuizel
Pushing 6074cde to master...

@bors-servo bors-servo merged commit 1d36907 into servo:master Jul 6, 2018
2 checks passed
2 checks passed
continuous-integration/travis-ci/pr The Travis CI build passed
Details
homu Test successful
Details
bors-servo added a commit that referenced this pull request Aug 1, 2018
Add ItemMutRef and FromMutVoid

Used (in my project) to grab a `&mut CFMutableAttributedString` from an objc-c ivar to use methods introduced in #223.

```rust
CFMutableAttributedString::from_mut_void(ptr)
```

<!-- 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/244)
<!-- Reviewable:end -->
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.