Re: Final (maybe) proposal for C++ binding memory management.

2015-08-20 Thread aconway
On Thu, 2015-08-20 at 15:04 -0400, Andrew Stitcher wrote: > On Thu, 2015-08-20 at 14:44 -0400, aconway wrote: > > Here's the API doc, the code is coming. It is like previous > > proposals > > which were well received but more correct. It has *two* conversion > > types, pn_borrowed_ptr and pn_given

Re: Final (maybe) proposal for C++ binding memory management.

2015-08-20 Thread Andrew Stitcher
On Thu, 2015-08-20 at 14:44 -0400, aconway wrote: > Here's the API doc, the code is coming. It is like previous proposals > which were well received but more correct. It has *two* conversion > types, pn_borrowed_ptr and pn_given_ptr. This both automates the > refcounting for smart pointers and acts