comp.lang.ada
 help / color / mirror / Atom feed
From: dennison@telepath.com
Subject: Re: Importing a Unix function call
Date: 1998/12/07
Date: 1998-12-07T00:00:00+00:00	[thread overview]
Message-ID: <74gpdm$iv5$1@nnrp1.dejanews.com> (raw)
In-Reply-To: m3ogph5b2p.fsf@mheaney.ni.net

In article <m3ogph5b2p.fsf@mheaney.ni.net>,
  Matthew Heaney <matthew_heaney@acm.org> wrote:
> "David Botton" <dbotton@hotmail.com> writes:
>
> > Since in Ada non-scalar types are passed by reference (ie as pointers) to C
> > functions you could get rid of the Access type and treat it just like C:
>
> Clearly, what we want is the function
>
>   function Pipe (Files : out File_Descriptor_Array) return Int;
>
> but we can't express this thought using the language.

Yes. But neither can C, so for our purposes here its a good enough match.

--
T.E.D.

-----------== Posted via Deja News, The Discussion Network ==----------
http://www.dejanews.com/       Search, Read, Discuss, or Start Your Own    




      reply	other threads:[~1998-12-07  0:00 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1998-12-04  0:00 Importing a Unix function call Steve Crowe
1998-12-04  0:00 ` Larry Kilgallen
1998-12-04  0:00   ` David Botton
1998-12-05  0:00     ` Larry Kilgallen
1998-12-04  0:00 ` dennison
1998-12-06  0:00 ` Matthew Heaney
1998-12-06  0:00   ` David Botton
1998-12-06  0:00     ` Matthew Heaney
1998-12-07  0:00       ` dennison [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