comp.lang.ada
 help / color / mirror / Atom feed
From: tmoran@acm.org
Subject: Re: Size of a pointer to a tagged record
Date: Wed, 04 Dec 2002 18:11:24 GMT
Date: 2002-12-04T18:11:24+00:00	[thread overview]
Message-ID: <gzrH9.27177$pN3.2167@sccrnsc03> (raw)
In-Reply-To: asl7s3$qjb$1@pegasus.csx.cam.ac.uk

> Ada would handle setting the tag, the C part just takes a value
> and stores it, it eventually returns it.
  If the C part just sees a set of bits and doesn't care what it
represents, then the fact it's an access to a tagged type is irrelevant,
it could just as well be an integer or string or whatever.  You just
need, on the Ada side, to use attributes to find the size of the
black box object you are sending to C.



  parent reply	other threads:[~2002-12-04 18:11 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-12-04 14:01 Size of a pointer to a tagged record Steven Murdoch
2002-12-04 15:16 ` Robert A Duff
2002-12-04 15:44   ` Steven Murdoch
2002-12-04 17:17     ` Robert A Duff
2002-12-04 17:56       ` Steven Murdoch
2002-12-04 19:10         ` Robert A Duff
2002-12-07  6:55         ` David Thompson
2002-12-04 20:27       ` Simon Wright
2002-12-04 18:11     ` tmoran [this message]
2002-12-04 17:05 ` Jeffrey Carter
replies disabled

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