From: "David Botton" <dbotton@hotmail.com>
Subject: Re: Importing a Unix function call
Date: 1998/12/04
Date: 1998-12-04T00:00:00+00:00 [thread overview]
Message-ID: <749jfj$1i8q$1@news.gate.net> (raw)
In-Reply-To: 1998Dec4.154225.1@eisner
Do you have a piece of sample code to illustrate this?
David Botton
Larry Kilgallen wrote in message <1998Dec4.154225.1@eisner>...
>In article <36683FA3.2512DECF@ndirect.co.uk>, Steve Crowe
<stevecrowe@ndirect.co.uk> writes:
>
>> Using Ada to import a function is easy, but if the function parameter
>> returns
>> a value, how is the Ada error overcome. As I want the return value as
>> well
>> as the out parameter. Is there away round this using a pragma?
>
>Use IMPORT_VALUED_PROCEDURE in Gnat or DEC Ada.
>
>Your purpose is exactly why it exists.
>
>Larry Kilgallen
next prev parent reply other threads:[~1998-12-04 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 ` dennison
1998-12-04 0:00 ` Larry Kilgallen
1998-12-04 0:00 ` David Botton [this message]
1998-12-05 0:00 ` Larry Kilgallen
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
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox