This is the mail archive of the archer@sourceware.org mailing list for the Archer project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [python] Implement value reference counting


On Mon, Jun 22, 2009 at 01:15:20PM -0600, Tom Tromey wrote:
> I'm checking this in on the python branch.
> 
> This implements reference counting for 'struct value'.
> This fixes a crash that was reported here.  A regression test is
> included.
> 
> The reference counting is a bit odd -- the "increment reference"
> operation is called "release_value", for historical reasons.
> I may change this when I submit it upstream.

Could I persuade you to submit this upstream soonish?  I have another
bug I've been meaning to fix for two years, involving bitfields, that
would be much more straightforward with reference counting.

-- 
Daniel Jacobowitz
CodeSourcery


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]