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,LOTS_OF_MONEY autolearn=ham autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,4deb6c62a5e19f2 X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2001-07-29 05:26:22 PST Path: archiver1.google.com!newsfeed.google.com!newsfeed.stanford.edu!feed.textport.net!hammer.uoregon.edu!newsfeed.direct.ca!look.ca!newsfeed1.earthlink.net!newsfeed.earthlink.net!newsmaster1.prod.itd.earthlink.net!newsread2.prod.itd.earthlink.net.POSTED!not-for-mail Message-ID: <3B63F48A.2E2642C6@earthlink.net> From: "Marc A. Criley" Organization: Quadrus Corporation X-Mailer: Mozilla 4.73 [en] (X11; U; Linux 2.2.14-5.0 i686) X-Accept-Language: en MIME-Version: 1.0 Newsgroups: comp.lang.ada Subject: Re: type Foo_ptr in new void*; References: <9k03jc$2me$2@news.tpi.pl> <9k0j60$n4t$1@news.tpi.pl> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Date: Sun, 29 Jul 2001 12:26:35 GMT NNTP-Posting-Host: 158.252.122.140 X-Complaints-To: abuse@earthlink.net X-Trace: newsread2.prod.itd.earthlink.net 996409595 158.252.122.140 (Sun, 29 Jul 2001 05:26:35 PDT) NNTP-Posting-Date: Sun, 29 Jul 2001 05:26:35 PDT X-Received-Date: Sun, 29 Jul 2001 05:23:45 PDT (newsmaster1.prod.itd.earthlink.net) Xref: archiver1.google.com comp.lang.ada:10688 Date: 2001-07-29T12:26:35+00:00 List-Id: Tomasz Wegrzanowski wrote: > > In article , tmoran@acm.org wrote: > > So given > > type Foo is record ... > > type Foo_Pointer is access Foo; > > I can't do this. > Foo is supposed to be used only as a pointer. > I don't know if newer version of library will use the same Foo. In tmoran's post, wherever you saw "in out Foo", change it to "in Foo_Pointer". In order to declare a pointer to a type, you have to have that type's definition. Even C requires that for "foo*" there be some declaration of "foo". Marc A. Criley Senior Staff Engineer Quadrus Corporation www.quadrus.com