comp.lang.ada
 help / color / mirror / Atom feed
From: "Theodore E. Dennison" <dennison@escmail.orl.mmc.com>
Subject: Re: C Interface question
Date: 1996/07/10
Date: 1996-07-10T00:00:00+00:00	[thread overview]
Message-ID: <31E403CF.15FB7483@escmail.orl.mmc.com> (raw)
In-Reply-To: dewar.836955108@schonberg


Robert Dewar wrote:
> Dec has a pragma Import_Valued_Procedure that allows a function in the
> external world to be treated as a procedure with an initial out parameter
> that is the returned value on the Ada side. Using this pragma, we would
...
> This pragma (and all other DEC Ada pragmas and attributes) will be fully
> implemented in the next version of GNAT (some of them only make sense on
> VMS, but many of them, like the above example, are generally useful).

Cool!! That was one of my favorite DECisms. The best part was the "mechanisims",
field, which allowed "thin" bindings to use ADTs, rather than just integers
or access types. That almost makes thin C bindings usable.

-- 
T.E.D.          
                |  Work - mailto:dennison@escmail.orl.mmc.com  |
                |  Home - mailto:dennison@iag.net              |
                |  URL  - http://www.iag.net/~dennison         |




  reply	other threads:[~1996-07-10  0:00 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1996-07-09  0:00 C Interface question Jerry van Dijk
1996-07-09  0:00 ` Robert Dewar
1996-07-10  0:00   ` Theodore E. Dennison [this message]
1996-07-11  0:00     ` Robert Dewar
1996-07-11  0:00   ` Ken Garlington
1996-07-11  0:00     ` Robert Dewar
1996-07-11  0:00   ` Jerry van Dijk
1996-07-09  0:00 ` Laurent Guerby
1996-07-11  0:00   ` Jerry van Dijk
1996-07-16  0:00     ` David Kirkland
1996-07-11  0:00 ` Kevin Krieser
1996-07-11  0:00   ` Robert Dewar
replies disabled

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