comp.lang.ada
 help / color / mirror / Atom feed
From: scott@hakuin.boeing.com (Scott Moody, 773-8600)
Subject: Re: Linking C++ and Ada
Date: 1996/02/26
Date: 1996-02-26T00:00:00+00:00	[thread overview]
Message-ID: <DnE8s6.J5n@plato.ds.boeing.com> (raw)
In-Reply-To: Dn6KEE.Mt2@news.thomson-lcr.fr

>check the GNAT examples included in the distribution, there is an example
>about calling some C++ code.

This brings up a question. GNAT has a few pragmas for linking
to C++ that are not part of the Ada standard. I haven't even
seen them until looking at the ex6 example. Should I start using
these non-standard pragmas? It would definitely help my corba interface...

eg.

pragma CPP_Class (Entity => A);
pragma CPP_Vtable (Entity => A, Vtable_Ptr => Vptr, Entry_Count => 2);
pragma CPP_Constructor (Entity => Constructor);




  reply	other threads:[~1996-02-26  0:00 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1996-02-22  0:00 Linking C++ and Ada Howard A. Free
1996-02-22  0:00 ` Nasser Abbasi
1996-02-22  0:00 ` Gilles Demailly
1996-02-26  0:00   ` Scott Moody, 773-8600 [this message]
1996-02-27  0:00     ` Samuel Tardieu
  -- strict thread matches above, loose matches on Subject: below --
1996-02-23  0:00 Simon Johnston
replies disabled

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