comp.lang.ada
 help / color / mirror / Atom feed
From: sparre@meyer.fys.ku.dk (Jacob Sparre Andersen)
Subject: [GNAT] Extending a C++ class
Date: 1998/04/23
Date: 1998-04-23T00:00:00+00:00	[thread overview]
Message-ID: <6hnh4i$kci$1@news.uni-c.dk> (raw)
In-Reply-To: dewar.893163797@merv

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain, Size: 1216 bytes --]


Robert Dewar (dewar@merv.cs.nyu.edu) wrote about the C++ interfacing pragmas:

: But you really have to know what you are doing to use them. Generally they
: are intended for use by a binding generator, not by humans.

In the GNAT Reference Manual there are references to "the C++ binding
generator tool". Where can I find/buy that tool?

: The easiest thing for most people is to write a C wrapper for their C++
: code and to interface to the C wrapper. This can be done using only
: standard features of the language as described in annex B of the RM.

This seems a bit silly if you want to extend a C++ class in Ada. - Is this
suggestion just intended for old fashioned procedural code, or can you
explain how you would do it with a C++ class?


Greetings,

Jacob

----------------------------------------------------------------------------
--  Jacob Sparre Andersen     --  E-mail: Jacob.Sparre.Andersen@risoe.dk  --
--  National Laboratory Ris�  --  Phone.: (+45) 46 77 51 23               --
--  Systems Analysis          --  Fax...: (+45) 46 77 51 99               --
----------------------------------------------------------------------------

                  Have you played with your LEGO today?




      reply	other threads:[~1998-04-23  0:00 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1998-04-20  0:00 linking with C++ Martin Klang
1998-04-21  0:00 ` Justin Braach
1998-04-21  0:00 ` Robert Dewar
1998-04-21  0:00 ` Jerry van Dijk
1998-04-21  0:00 ` Robert Dewar
1998-04-23  0:00   ` Jacob Sparre Andersen [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