From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.3 required=5.0 tests=BAYES_00,INVALID_MSGID autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,8ebde0e81efb7e79 X-Google-Attributes: gid103376,public From: dennison@telepath.com Subject: Re: Importing a Unix function call Date: 1998/12/07 Message-ID: <74gpdm$iv5$1@nnrp1.dejanews.com>#1/1 X-Deja-AN: 419627184 References: <36683FA3.2512DECF@ndirect.co.uk> <74e7t5$2deg$1@news.gate.net> X-Http-Proxy: 1.0 x14.dejanews.com:80 (Squid/1.1.22) for client 204.48.27.130 Organization: Deja News - The Leader in Internet Discussion X-Article-Creation-Date: Mon Dec 07 14:40:54 1998 GMT Newsgroups: comp.lang.ada X-Http-User-Agent: Mozilla/4.5 [en] (WinNT; I) Date: 1998-12-07T00:00:00+00:00 List-Id: In article , Matthew Heaney wrote: > "David Botton" 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