comp.lang.ada
 help / color / mirror / Atom feed
From: "Jeffrey R. Carter" <spam.jrcarter.not@spam.not.acm.org>
Subject: Re: differences between Ada and C in gnat forcing me to use C instead of Ada
Date: Mon, 25 Mar 2019 17:46:32 +0100
Date: 2019-03-25T17:46:32+01:00	[thread overview]
Message-ID: <q7b0l8$vm1$1@dont-email.me> (raw)
In-Reply-To: <q7ao2h$1isl$1@gioia.aioe.org>

On 3/25/19 3:20 PM, Dmitry A. Kazakov wrote:
> On 2019-03-25 15:09, matthewbrentmccarty@gmail.com wrote:
> 
>>        devices :  aliased  Device_Array (1..5);
>>        Status := sane_sane_h.sane_get_devices (devices(1)'Address, 
>> sane_sane_h.SANE_Bool(SANE_TRUE));
> 
> How the callee should know the length of the output array?

The same strcpy does.

-- 
Jeff Carter
It's better to be root than to reboot.
119

  reply	other threads:[~2019-03-25 16:46 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-03-25  5:46 differences between Ada and C in gnat forcing me to use C instead of Ada matthewbrentmccarty
2019-03-25  5:58 ` Jere
2019-03-25  8:25 ` Dmitry A. Kazakov
2019-03-25 14:06   ` Florian Weimer
2019-03-25 10:56 ` Philip Munts
2019-03-25 11:54 ` Lucretia
2019-03-25 14:09 ` matthewbrentmccarty
2019-03-25 14:20   ` Dmitry A. Kazakov
2019-03-25 16:46     ` Jeffrey R. Carter [this message]
2019-03-25 18:01       ` Dmitry A. Kazakov
2019-03-25 17:38   ` Niklas Holsti
2019-03-25 16:42 ` matthewbrentmccarty
2019-03-25 18:18   ` Dmitry A. Kazakov
2019-04-04  0:51     ` matthewbrentmccarty
replies disabled

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