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

Typed refcounting #163

Merged
merged 1 commit into from
Feb 21, 2021
Merged

Typed refcounting #163

merged 1 commit into from
Feb 21, 2021

Conversation

zenhack
Copy link
Contributor

@zenhack zenhack commented Feb 16, 2021

I've found myself wanting these in the past (particularly AddRef());
otherwise it's very un-ergonomic to have to do Foo{ f.Client.AddRef() }
at every call site.


Note that the first commit is from #162; this was the context in which I wanted those fixes. So you should probably review & merge that first.

Copy link
Contributor

@zombiezen zombiezen left a comment

Choose a reason for hiding this comment

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

LGTM. Please rebase and then I'll merge in.

I've found myself wanting these in the past (particularly AddRef());
otherwise it's very un-ergonomic to have to do Foo{ f.Client.AddRef() }
at every call site.
@zenhack
Copy link
Contributor Author

zenhack commented Feb 21, 2021

Done

@zombiezen zombiezen merged commit 5af9506 into capnproto:v3 Feb 21, 2021
lthibault pushed a commit that referenced this pull request Feb 22, 2021
I've found myself wanting these in the past (particularly AddRef());
otherwise it's very un-ergonomic to have to do Foo{ f.Client.AddRef() }
at every call site.
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