Skip to content

Typed refcounting#163

Merged
zombiezen merged 1 commit into
capnproto:v3from
zenhack:typed-refcounting
Feb 21, 2021
Merged

Typed refcounting#163
zombiezen merged 1 commit into
capnproto:v3from
zenhack:typed-refcounting

Conversation

@zenhack

@zenhack zenhack commented Feb 16, 2021

Copy link
Copy Markdown
Contributor

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.

@zombiezen zombiezen left a comment

Copy link
Copy Markdown
Contributor

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

zenhack commented Feb 21, 2021

Copy link
Copy Markdown
Contributor Author

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