comp.lang.ada
 help / color / mirror / Atom feed
From: "Bobby D. Bryant" <bdbryant@mail.utexas.edu>
Subject: Re: Ada vs Interfaces.C types
Date: Thu, 09 Jan 2003 06:54:39 -0600
Date: 2003-01-09T06:54:39-06:00	[thread overview]
Message-ID: <pan.2003.01.09.12.54.34.316411@mail.utexas.edu> (raw)
In-Reply-To: dstanbro-61749A.23200409012003@mec2.bigpond.net.au

On Thu, 09 Jan 2003 12:21:46 +0000, Dale Stanbrough wrote:

> In article <20030109014828.1ba9cb7a.david@realityrift.com>,
>  David Holm <david@realityrift.com> wrote:
> 
>> Hi,
>> are the following safe to assume?
>> 
>> Interfaces.C.unsigned = Integer
>> Interfaces.C.short = Short_Integer
>> Interfaces.C.C_Float = Float
>> Interfaces.C.double = Long_Float
> 
> 
> I think that gnat is based on this assumption, but of course
> that is only one compiler.

The C unsigned can't possibly correspond to the Ada Integer.

-- 
Bobby Bryant
Austin, Texas




  reply	other threads:[~2003-01-09 12:54 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-01-09  0:48 Ada vs Interfaces.C types David Holm
2003-01-09  1:28 ` tmoran
2003-01-09 12:21 ` Dale Stanbrough
2003-01-09 12:54   ` Bobby D. Bryant [this message]
2003-01-09 14:01   ` David C. Hoos
2003-01-09 15:47     ` David Holm
replies disabled

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