comp.lang.ada
 help / color / mirror / Atom feed
From: "Hibou57 (Yannick Duchêne)" <yannick_duchene@yahoo.fr>
Subject: Re: Converting pointers to non nul-terminated C "strings" to Ada string
Date: Sat, 14 Feb 2009 06:25:42 -0800 (PST)
Date: 2009-02-14T06:25:42-08:00	[thread overview]
Message-ID: <b0bd377a-0ab7-4779-8733-58cc1ae78901@r36g2000prf.googlegroups.com> (raw)
In-Reply-To: ygey6w9kzp0.fsf@sparre-andersen.dk

On 14 fév, 12:47, Jacob Sparre Andersen <spa...@nbi.dk> wrote:
> RM95 B.3(68) comes to mind.
>
> Greetings,
>
> Jacob
> --
> Ada - the programming language still ahead of its time.

Right Jacob

It says

“ An Ada access T parameter, or an Ada out or in out parameter of an
elementary type T, is passed as a t* argument to a C function, where t
is the C type corresponding to the Ada type T. In the case of an
elementary out or in out parameter, a pointer to a temporary copy is
used to preserve by-copy semantics. ”

Thanks for the material

Greetings as well

Y.D.



  reply	other threads:[~2009-02-14 14:25 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-02-14  6:58 Converting pointers to non nul-terminated C "strings" to Ada string xorquewasp
2009-02-14  9:26 ` Dmitry A. Kazakov
2009-02-14 10:38   ` xorquewasp
2009-02-14 11:16     ` Dmitry A. Kazakov
2009-02-14 11:37       ` xorquewasp
2009-02-14  9:27 ` Hibou57 (Yannick Duchêne)
2009-02-14 10:41   ` xorquewasp
2009-02-15 17:44     ` Georg Bauhaus
2009-02-14 11:47   ` Jacob Sparre Andersen
2009-02-14 14:25     ` Hibou57 (Yannick Duchêne) [this message]
2009-02-14  9:28 ` sjw
2009-02-14  9:33 ` likai3g
replies disabled

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