From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=ham autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,68b2e2c0309a6e88 X-Google-Attributes: gid103376,public Path: controlnews3.google.com!news1.google.com!news.glorb.com!news.moat.net!lon-transit.news.telstra.net!lon-in.news.telstra.net!news.telstra.net!news-server.bigpond.net.au!53ab2750!not-for-mail From: Dale Stanbrough Newsgroups: comp.lang.ada Subject: Re: Question on interface Ada to C References: User-Agent: MT-NewsWatcher/3.4 (PPC Mac OS X) Message-ID: Date: Wed, 26 May 2004 10:23:00 GMT NNTP-Posting-Host: 138.217.31.119 X-Complaints-To: abuse@bigpond.net.au X-Trace: news-server.bigpond.net.au 1085566980 138.217.31.119 (Wed, 26 May 2004 20:23:00 EST) NNTP-Posting-Date: Wed, 26 May 2004 20:23:00 EST Organization: BigPond Internet Services Xref: controlnews3.google.com comp.lang.ada:848 Date: 2004-05-26T10:23:00+00:00 List-Id: Simon Wright 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