Re: All about proton memory management (or C++, python and Go - Oh My!)

2015-08-19 Thread aconway
On Wed, 2015-08-19 at 10:45 -0400, Ken Giusti wrote: Nicely done Alan! One point - I'm a little confused about your advice regarding pn_object_decref: The proton C API has standard reference counting rules (but see [1] below) * A pointer returned by a pn_ function is either

Re: All about proton memory management (or C++, python and Go - Oh My!)

2015-08-18 Thread aconway
On Tue, 2015-08-18 at 12:09 -0400, Andrew Stitcher wrote: On Tue, 2015-08-18 at 07:38 -0400, Rafael Schloming wrote: Nice writeup! I agree. Andrew [Did you make a pass through the doc to ensure that the claimed API doc is actually there? that is, doc on ownership and scope?] No,

Re: All about proton memory management (or C++, python and Go - Oh My!)

2015-08-18 Thread Andrew Stitcher
On Tue, 2015-08-18 at 07:38 -0400, Rafael Schloming wrote: Nice writeup! I agree. Andrew [Did you make a pass through the doc to ensure that the claimed API doc is actually there? that is, doc on ownership and scope?]