comp.lang.ada
 help / color / mirror / Atom feed
From: jsa@organon.com (Jon S Anthony)
Subject: Re: question on pragmas with GNAT
Date: 1996/05/22
Date: 1996-05-22T00:00:00+00:00	[thread overview]
Message-ID: <JSA.96May21211551@organon.com> (raw)
In-Reply-To: 31A1DD63.7A35@norden.com


In article <31A1DD63.7A35@norden.com> Mindy Matusewicz <mindy_matusewicz@norden.com> writes:

> On the Greenhills Ada compiler I have been using there is a 
> pragma runtime_names that informs Ada that the following data is 
> really defined by another language.  This allows me to write to 
> the same data from either ada or c.

This stuff is defined as part of Ada95.  See the import, export and
convention pragmas as defined in Annex B.  In addition see the packages
Interfaces and Interfaces.C.  This will do all your asking and a whole
lot more.

> Is this possible using the gnat compiler.

Yes, Gnat fully implements this stuff.

/Jon

-- 
Jon Anthony
Organon Motives, Inc.
1 Williston Road, Suite 4
Belmont, MA 02178

617.484.3383
jsa@organon.com





      reply	other threads:[~1996-05-22  0:00 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1996-05-21  0:00 question on pragmas with GNAT Mindy Matusewicz
1996-05-22  0:00 ` Jon S Anthony [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