[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Ref counting
From: |
Mark Mitchell |
Subject: |
Re: Ref counting |
Date: |
Fri, 12 Apr 2002 13:42:38 -0700 |
Is there a way to increase ref count of object to reference it outside
of function scope or am trying to do something deprecated ? Should I be
passing in a reference argument and initialize Array/Field in the
function ?
I suggest allocating the new Array/Field with "new", rather than as a
local variable, and then returning it the pointer.
Jeffrey, do you have alternative ideas?
--
Mark Mitchell address@hidden
CodeSourcery, LLC http://www.codesourcery.com
- Ref counting, Nils H. Busch, 2002/04/12
- Re: Ref counting,
Mark Mitchell <=