freepooma-devel
[Top][All Lists]
Advanced

[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

reply via email to

[Prev in Thread] Current Thread [Next in Thread]