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-Thread: 103376,7f18265ce67560b3 X-Google-NewGroupId: yes X-Google-Attributes: gida07f3367d7,domainid0,public,usenet X-Google-Language: ENGLISH,ASCII-7-bit Received: by 10.68.27.132 with SMTP id t4mr1017019pbg.3.1320701213675; Mon, 07 Nov 2011 13:26:53 -0800 (PST) Path: h5ni9995pba.0!nntp.google.com!news1.google.com!npeer01.iad.highwinds-media.com!news.highwinds-media.com!feed-me.highwinds-media.com!nntp.club.cc.cmu.edu!feeder.erje.net!eternal-september.org!feeder.eternal-september.org!.POSTED!not-for-mail From: Simon Wright Newsgroups: comp.lang.ada Subject: Re: Memory Access Date: Mon, 07 Nov 2011 21:26:52 +0000 Organization: A noiseless patient Spider Message-ID: References: Mime-Version: 1.0 Injection-Info: mx04.eternal-september.org; posting-host="dFCm8HWntFqmDIilBLqEJQ"; logging-data="15413"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+yu0lE+NG7KeNC7dM+6lK/QVzxF/doZSM=" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.3 (darwin) Cancel-Lock: sha1:ZbYV1o+k2OY+jK5TMBHoC+vR718= sha1:cvtBJNPSmnZZB+YtVN89bieeYvI= Xref: news1.google.com comp.lang.ada:18842 Content-Type: text/plain; charset=us-ascii Date: 2011-11-07T21:26:52+00:00 List-Id: awdorrin writes: > I understand that the Bounds_Ptr is being used to assign array > constraints to the dope vector. But I'm guessing that GNAT doesn't > define these dope vectors using this sort of definition. It probably does, just not quite the same! > I haven't done much development in Ada, so I'm at a loss here. I'm > making the assumption that the way this code was implemented > (somewhere between 1992 and 98) was not really the right way to > approach this problem. But I'm not sure what method should be used, > and haven't had much luck the past few days searching the web and > newsgroups. I wonder whether Interfaces.C.Pointers would be appropriate? http://www.adaic.org/resources/add_content/standards/05rm/html/RM-B-3-2.html