From: dewar@merv.cs.nyu.edu (Robert Dewar)
Subject: Re: GNAT extern "C"
Date: 1998/06/08
Date: 1998-06-08T00:00:00+00:00 [thread overview]
Message-ID: <dewar.897360129@merv> (raw)
In-Reply-To: 6lheb7$5gb$1@inet-prime.comshare.com
Matthew says
<<What I haven't figured out, though, if it is possible to export an Ada
function/procedure as a C function in a shared library.
>>
Yes, of course this is possible, why would you think it might not be. The
question is equivalent to whether it is possible to write a C function
in a shared library! pragma Export has exactly the effect of making an
Ada routine equivalent to a C one in terms of naming, parameter
passing mechanism etc.
prev parent reply other threads:[~1998-06-08 0:00 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
1998-06-08 0:00 GNAT extern "C" Matthew Benjamin
1998-06-08 0:00 ` Robert Dewar [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