From: David Starner <dvdeug@x8b4e53cd.dhcp.okstate.edu>
Subject: Re: Interfacing to C++
Date: 3 Mar 2002 05:05:42 GMT
Date: 2002-03-03T05:05:42+00:00 [thread overview]
Message-ID: <a5sav6$a2g1@news.cis.okstate.edu> (raw)
In-Reply-To: mFzf8.14835$bs1.347007@sccrnsc01
On Fri, 01 Mar 2002 00:09:54 GMT, Wannabe h4x0r <chris@dont.spam.me> wrote:
> As C++ is a "superset" of C, can I bind to C++ libs using Interfaces.C or
> do I have to define my own types and methods?
If you aren't using GNAT's Interfaces.CPP, then you can call the C++ as
if you were calling from C - that is, whereever you would use extern "C"
if you were interfacing C++ with C, you need it if you are interfacing
C++ with Ada.
--
David Starner - starner@okstate.edu
What we've got is a blue-light special on truth. It's the hottest thing
with the youth. -- Information Society, "Peace and Love, Inc."
prev parent reply other threads:[~2002-03-03 5:05 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-03-01 0:09 Interfacing to C++ Wannabe h4x0r
2002-03-01 0:28 ` sk
2002-03-01 2:48 ` Wannabe h4x0r
2002-03-01 5:26 ` sk
2002-03-01 1:50 ` Larry Kilgallen
2002-03-03 5:05 ` David Starner [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