From: "Dmitry A. Kazakov" <mailbox@dmitry-kazakov.de>
Subject: Re: Convert chars_ptr to Ada String
Date: Mon, 10 Jul 2017 11:48:26 +0200
Date: 2017-07-10T11:48:26+02:00 [thread overview]
Message-ID: <ojviha$50i$1@gioia.aioe.org> (raw)
In-Reply-To: ojvhi9$3in$1@gioia.aioe.org
On 10/07/2017 11:31, Victor Porton wrote:
> Read description of Value() carefully. It stops at first NUL.
if Ptr = Null_Ptr then
return "";
else
return To_Ada (Value (Ptr, Length), False);
end if;
--
Regards,
Dmitry A. Kazakov
http://www.dmitry-kazakov.de
next prev parent reply other threads:[~2017-07-10 9:48 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-07-07 21:03 Convert chars_ptr to Ada String Victor Porton
2017-07-07 22:23 ` Anh Vo
2017-07-07 22:48 ` Victor Porton
2017-07-07 23:14 ` Anh Vo
2017-07-09 6:49 ` Victor Porton
2017-07-10 4:58 ` Anh Vo
2017-07-10 9:31 ` Victor Porton
2017-07-10 9:48 ` Dmitry A. Kazakov [this message]
2017-07-10 12:41 ` Mark Lorenzen
2017-07-10 14:24 ` Dmitry A. Kazakov
2017-07-10 21:21 ` Victor Porton
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox