comp.lang.ada
 help / color / mirror / Atom feed
* access to controlled types
@ 1999-02-03  0:00 Terry J. Westley
  1999-02-04  0:00 ` news.oxy.com
                   ` (2 more replies)
  0 siblings, 3 replies; 8+ messages in thread
From: Terry J. Westley @ 1999-02-03  0:00 UTC (permalink / raw)


In a new version of TASH, I've implmented an interface
to Tcl objects (which are reference counted) with Ada
controlled types.  I've been very impressed with how
well this works in GNAT.

But, there are certain calls in the interface which
return an access to a class-wide type.  It's easy to
reference count these newly created objects, but since
the access type is not controlled, the reference counts
don't get decremented.  What's the solution?  Should I
declare another controlled type which *contains* an
access to the original controlled type?  Or, is there
a better solution?

--
Terry J. Westley, Principal Engineer
Veridian Engineering, Calspan Operations
twestley@buffalo.veridian.com   http://www.veridian.com/
-------------------------------------------------------
Author of TASH, an Ada binding to Tcl/Tk.
Visit the TASH web site at http://tash.calspan.com.
-------------------------------------------------------








^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~1999-03-01  0:00 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1999-02-03  0:00 access to controlled types Terry J. Westley
1999-02-04  0:00 ` news.oxy.com
1999-02-05  0:00   ` Garb Coll + Heap Cmpctn (was:access to controlled types) Nick Roberts
1999-02-04  0:00 ` access to controlled types Stephen Leake
1999-02-05  0:00   ` Terry J. Westley
1999-02-20  0:00     ` Matthew Heaney
1999-02-20  0:00       ` Matthew Heaney
1999-03-01  0:00 ` Matthew Heaney

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox