From: dewar@merv.cs.nyu.edu (Robert Dewar)
Subject: Re: Mac memory allocation: NewPtr or Ada's "new"
Date: 1997/03/16
Date: 1997-03-16T00:00:00+00:00 [thread overview]
Message-ID: <dewar.858567757@merv> (raw)
In-Reply-To: brennanw-1603971254020001@indian-6.vf.pond.com
<<Is there a operational difference between calling the MacOS NewPtr
and using Ada's "new" allocator? How is "new" implemented for
GNAT under MacOS?>>
You should be using new, unless there is some definite reason for
calling the underlying (non-portable) NewPtr function. NewPtr is
a Mac dependent function, new is the only proper portable way
to do allocation in Ada.
\x1adp
next prev parent reply other threads:[~1997-03-16 0:00 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
1997-03-16 0:00 Mac memory allocation: NewPtr or Ada's "new" William C Brennan
1997-03-16 0:00 ` Robert Dewar [this message]
1997-03-17 0:00 ` jim hopper
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox