comp.lang.ada
 help / color / mirror / Atom feed
From: kilgallen@eisner.decus.org (Larry Kilgallen)
Subject: Re: Importing a Unix function call
Date: 1998/12/04
Date: 1998-12-04T00:00:00+00:00	[thread overview]
Message-ID: <1998Dec4.154225.1@eisner> (raw)
In-Reply-To: 36683FA3.2512DECF@ndirect.co.uk

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




  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 ` Larry Kilgallen [this message]
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
replies disabled

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