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,1e7dd1f42fe2722e X-Google-Attributes: gid103376,public X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news1.google.com!news3.google.com!news.glorb.com!border1.nntp.dca.giganews.com!nntp.giganews.com!local1.nntp.dca.giganews.com!nntp.comcast.com!news.comcast.com.POSTED!not-for-mail NNTP-Posting-Date: Wed, 15 Dec 2004 07:48:23 -0600 From: David Botton Newsgroups: comp.lang.ada Date: Wed, 15 Dec 2004 08:48:23 -0500 Message-ID: <2004121508482350073%david@bottoncom> References: MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit Subject: Re: how to declare a accss type in ada as C's generic pointer User-Agent: Unison/1.5.2 NNTP-Posting-Host: 66.176.74.83 X-Trace: sv3-DW362cGomX6arKC+BhjhKegqP+EvlZ5xgJH+65vqn1ytxXg8nR4k87nE9FtIQTPywnbb3/nN5gkyoKA!CLADFUaJOS3Y55lYPKMKEVILU2kRfPLs5LU8nkznBArrkO6tjVGp42PwfSVK0A== X-Complaints-To: abuse@comcast.net X-DMCA-Complaints-To: dmca@comcast.net X-Abuse-and-DMCA-Info: Please be sure to forward a copy of ALL headers X-Abuse-and-DMCA-Info: Otherwise we will be unable to process your complaint properly X-Postfilter: 1.3.21 Xref: g2news1.google.com comp.lang.ada:6965 Date: 2004-12-15T08:48:23-05:00 List-Id: It is sometimes, it is always a factor of how you will be using the pointer. Here is likely what you are looking for (from gnatcom-types.ads - http://www.gnavi.org) type Void is null record; subtype Pointer_To_Void is System.Address; type Pointer_To_Pointer_To_Void is access all Pointer_To_Void; -- C style Void pointers David Botton On 2004-12-09 01:29:58 -0500, "bubble" said: > now,I use System.address as C's generic point,is it correct?