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,7050446df2bdd3ac X-Google-Attributes: gid103376,public X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news1.google.com!news3.google.com!newsfeed2.dallas1.level3.net!news.level3.com!newsfeed-00.mathworks.com!kanaga.switch.ch!switch.ch!news.belwue.de!news.uni-stuttgart.de!carbon.eu.sun.com!btnet-feed5!btnet!news.btopenworld.com!not-for-mail From: Martin Dowie Newsgroups: comp.lang.ada Subject: Re: Interfacing to C and void* Date: Mon, 20 Feb 2006 19:41:07 +0000 (UTC) Organization: BT Openworld Message-ID: References: <1324118.dmjBZp3eKX@linux1.krischik.com> NNTP-Posting-Host: host86-142-137-135.range86-142.btcentralplus.com Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Trace: nwrdmz01.dmz.ncs.ea.ibs-infra.bt.com 1140464467 9793 86.142.137.135 (20 Feb 2006 19:41:07 GMT) X-Complaints-To: news-complaints@lists.btinternet.com NNTP-Posting-Date: Mon, 20 Feb 2006 19:41:07 +0000 (UTC) In-Reply-To: <1324118.dmjBZp3eKX@linux1.krischik.com> User-Agent: Thunderbird 1.5 (Windows/20051201) Xref: g2news1.google.com comp.lang.ada:3023 Date: 2006-02-20T19:41:07+00:00 List-Id: Martin Krischik wrote: > http://en.wikibooks.org/wiki/Ada_Programming/Memory#Where_is_void.2A.3F I would have thought a null record would be a nicer method of declaring a void and then an access of that for "void *", e.g. type Void is null record; pragma Convention (C, Void); type Void_Ptr is access all Void; pragma Convention (C, Void_Ptr); No? Cheers -- Martin