comp.lang.ada
 help / color / mirror / Atom feed
From: Jacob Sparre Andersen <sparre@nbi.dk>
Subject: Re: a question on basic types of interfaces.C
Date: Thu, 23 Nov 2006 13:50:36 +0100
Date: 2006-11-23T13:50:36+01:00	[thread overview]
Message-ID: <87slgacoo3.fsf@hugsarin.dmusyd.edu> (raw)
In-Reply-To: 1164283964.323817.256290@m7g2000cwm.googlegroups.com

<evangeli@cnam.fr> writes:

> there are some points regarding Interfaces.C that I want to be sure
> of if I consider Interfaces.C and <limits.h> are the following
> assertions always valid :
>
> Interfaces.C.int'first = INT_MIN
> Interfaces.C.int'last  = INT_MAX
>
> Interfaces.C.short'first = SHRT_MIN
> Interfaces.C.short'last  = SHRT_MAX
>
> Interfaces.C.int'size = sizeof(int) * CHAR_BIT

That's certainly how I read "Each of the types declared in
Interfaces.C is C-compatible.".

Greetings,

Jacob
-- 
<URL: small-talk://work/hallway-meeting/...>



  reply	other threads:[~2006-11-23 12:50 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-11-23 12:12 a question on basic types of interfaces.C evangeli
2006-11-23 12:50 ` Jacob Sparre Andersen [this message]
2006-11-24  7:36 ` Martin Krischik
replies disabled

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