From: David Botton <david@botton.com>
Subject: Re: how to declare a accss type in ada as C's generic pointer
Date: Wed, 15 Dec 2004 08:48:23 -0500
Date: 2004-12-15T08:48:23-05:00 [thread overview]
Message-ID: <2004121508482350073%david@bottoncom> (raw)
In-Reply-To: cp8s17$u2$1@netnews.hinet.net
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" <bubble@bubble.d2g.com> said:
> now,I use System.address as C's generic point,is it correct?
prev parent reply other threads:[~2004-12-15 13:48 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-12-09 6:29 how to declare a accss type in ada as C's generic pointer bubble
2004-12-10 1:02 ` Jeffrey Carter
2004-12-15 13:48 ` David Botton [this message]
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox