comp.lang.ada
 help / color / mirror / Atom feed
From: Jeffrey Carter <spam@spam.com>
Subject: Re: Mixed languages and frustration.
Date: Wed, 15 Oct 2003 02:58:57 GMT
Date: 2003-10-15T02:58:57+00:00	[thread overview]
Message-ID: <RJ2jb.1440$7a4.792@newsread4.news.pas.earthlink.net> (raw)
In-Reply-To: <YWednYdgOeOt7RGiU-KYiw@gbronline.com>

Wes Groleau wrote:
> 
>   If XYZ is an Ada access type, then
> 
>   the C pointer to the heap object is  XYZ.all'Address

This will usually work, but is not guaranteed to. System.Address is a 
private type because there are systems where an address doesn't map 
neatly to an integer, as a C pointer must.

-- 
Jeff Carter
"Death awaits you all, with nasty, big, pointy teeth!"
Monty Python & the Holy Grail
20




  parent reply	other threads:[~2003-10-15  2:58 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-10-14 20:24 Mixed languages and frustration Freejack
2003-10-14 20:48 ` Robert I. Eachus
2003-10-14 20:53 ` sk
2003-10-14 21:53 ` Wes Groleau
2003-10-15  0:01   ` Freejack
2003-10-15  2:58   ` Jeffrey Carter [this message]
2003-10-15  4:32     ` Wes Groleau
2003-10-15  4:24 ` Steve
2003-10-15 15:50 ` Stephen Leake
2003-10-16  6:40   ` Ole-Hjalmar Kristensen
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox