comp.lang.ada
 help / color / mirror / Atom feed
From: "Randy Brukardt" <randy@rrsoftware.com>
Subject: Re: Convert an access to constant to access to variable
Date: Mon, 7 Aug 2017 18:16:26 -0500
Date: 2017-08-07T18:16:26-05:00	[thread overview]
Message-ID: <omascb$s32$1@franka.jacob-sparre.dk> (raw)
In-Reply-To: om500e$3iv$1@gioia.aioe.org

"Victor Porton" <porton@narod.ru> wrote in message 
news:om500e$3iv$1@gioia.aioe.org...
...
> I need chars_ptr for interfacing with C.
>
> There is no constant_chars_ptr.
>
> (I need to generate chars_ptr from a char_array or rather from constant
> char_array.)

We did all of this sort of stuff just using Interfaces.C.To_Ada and various 
types with convention C. I don't think I've ever used Interfaces.C.Strings 
and Interfaces.C.Pointers outside of testing them. I think you are seeing 
why...

                                       Randy.


      reply	other threads:[~2017-08-07 23:16 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-08-04 22:17 Convert an access to constant to access to variable Victor Porton
2017-08-05  0:26 ` Randy Brukardt
2017-08-05  1:00   ` Victor Porton
2017-08-07 23:21     ` Randy Brukardt
2017-08-05  1:37 ` Victor Porton
2017-08-05 17:27 ` Stephen Leake
2017-08-05 17:41   ` Victor Porton
2017-08-07 23:16     ` Randy Brukardt [this message]
replies disabled

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