comp.lang.ada
 help / color / mirror / Atom feed
From: Simon Wright <simon@pushface.org>
Subject: Re: What is a byte?
Date: Mon, 28 Jul 2014 22:15:00 +0100
Date: 2014-07-28T22:15:00+01:00	[thread overview]
Message-ID: <lyha21qj6z.fsf@pushface.org> (raw)
In-Reply-To: lr674v$34l$1@speranza.aioe.org

Victor Porton <porton@narod.ru> writes:

> When I need to pass a byte to a C function, which Ada type should I
> use?

I'd have thought you'd use signed_char or unsigned_char, from
Interfaces.C, depending on what the called function expects.

  parent reply	other threads:[~2014-07-28 21:15 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-07-28 19:09 What is a byte? Victor Porton
2014-07-28 19:48 ` Dan'l Miller
2014-07-28 20:05   ` Dan'l Miller
2014-07-28 22:38   ` Randy Brukardt
2014-07-28 21:15 ` Simon Wright [this message]
2014-07-29 10:53 ` Jeffrey Carter
2014-07-29 12:26   ` Dan'l Miller
2014-07-29 18:40     ` Simon Wright
2014-07-29 21:15       ` Dan'l Miller
2014-07-29 23:08         ` Simon Clubley
2014-07-30  4:11       ` Dan'l Miller
2014-07-30  7:47       ` Simon Wright
2014-08-02 21:01   ` Keith Thompson
replies disabled

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