From: Dale Stanbrough <MrNoSpam@bigpoop.net.au>
Subject: Re: Question on interface Ada to C
Date: Wed, 26 May 2004 10:23:00 GMT
Date: 2004-05-26T10:23:00+00:00 [thread overview]
Message-ID: <MrNoSpam-13D8D4.20230026052004@news-server.bigpond.net.au> (raw)
In-Reply-To: x7vr7t85gsg.fsf@smaug.pushface.org
Simon Wright <simon@pushface.org> wrote:
> And I don't think C will understand a List_Pointer, because List_Type
> is unconstrained so any concrete List may have bounds with it. There's
> no reason to suppose that List'Address is the same as List
> (List'First)'Address.
Ada83 was silent on this issue but Ada95 now mandates this
behaviour.
So
List (List'First)'Address
will give you the address of the first item, not a descriptor.
Dale
--
dstanbro@spam.o.matic.bigpond.net.au
next prev parent reply other threads:[~2004-05-26 10:23 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-05-25 21:00 Question on interface Ada to C James Alan Farrell
2004-05-25 21:30 ` Dale Stanbrough
2004-05-25 21:38 ` Simon Wright
2004-05-26 10:23 ` Dale Stanbrough [this message]
2004-05-26 13:05 ` James Alan Farrell
2004-05-26 16:01 ` Martin Krischik
2004-05-26 7:34 ` Martin Krischik
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox