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,4deb6c62a5e19f2 X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2001-07-29 06:40:33 PST Path: archiver1.google.com!newsfeed.google.com!newsfeed.stanford.edu!news.tele.dk!203.50.2.79!intgwlon.nntp.telstra.net!news-server.bigpond.net.au!not-for-mail From: Dale Stanbrough Newsgroups: comp.lang.ada Subject: Re: type Foo_ptr in new void*; Organization: RMIT References: <9k03jc$2me$2@news.tpi.pl> <9k0j60$n4t$1@news.tpi.pl> User-Agent: MT-NewsWatcher/3.1 (PPC) Message-ID: Date: Sun, 29 Jul 2001 13:40:32 GMT NNTP-Posting-Host: 144.132.94.47 X-Complaints-To: news@bigpond.net.au X-Trace: news-server.bigpond.net.au 996414032 144.132.94.47 (Sun, 29 Jul 2001 23:40:32 EST) NNTP-Posting-Date: Sun, 29 Jul 2001 23:40:32 EST Xref: archiver1.google.com comp.lang.ada:10689 Date: 2001-07-29T13:40:32+00:00 List-Id: Tomasz Wegrzanowski wrote: > 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. One possibility is... subtype Foo is System.Address; (or just use System.Address). You could also declare a pointer to , and use unchecked conversion back and forth to the pointer types that you want. Dale