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=0.2 required=5.0 tests=BAYES_00,INVALID_MSGID, REPLYTO_WITHOUT_TO_CC autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,72a0bc6240d264e3 X-Google-Attributes: gid103376,public From: Jeff Carter Subject: Re: Access and alias Date: 2000/04/07 Message-ID: <38ED24D9.231AC195@acm.org>#1/1 X-Deja-AN: 607797783 Content-Transfer-Encoding: 7bit References: <86d7o5ae23.fsf@ppp-169-201.villette.club-internet.fr> <86aej9aa8y.fsf@ppp-169-201.villette.club-internet.fr> <38EB55AE.D4A241FD@icn.siemens.de> <8cfnpd$3h7$1@nnrp1.deja.com> <38EBBBBE.87C93900@acm.org> <8ci8ov$t8k$1@nnrp1.deja.com> X-Accept-Language: en Content-Type: text/plain; charset=us-ascii X-Complaints-To: abuse@earthlink.net X-Trace: newsread1.prod.itd.earthlink.net 955069180 63.10.53.178 (Thu, 06 Apr 2000 17:59:40 PDT) Organization: EarthLink Inc. -- http://www.EarthLink.net MIME-Version: 1.0 Reply-To: jrcarter@acm.org NNTP-Posting-Date: Thu, 06 Apr 2000 17:59:40 PDT Newsgroups: comp.lang.ada Date: 2000-04-07T00:00:00+00:00 List-Id: Robert Dewar wrote: > > In article <38EBBBBE.87C93900@acm.org>, > jrcarter@acm.org wrote: > > If you have to pass null, access types (with convention C) > > work fine. > > I would not agree with the word fine, this usage means that > you end up overusing aliased variables. Acceptable, yes, > fine, no! Yes, you end up with aliased variables, but hopefully the C function is wrapped inside a subprogram that converts between the C types and application-specific Ada types, so the aliasing is confined to that subprogram. -- Jeff Carter "We burst our pimples at you." Monty Python & the Holy Grail