From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-0.3 required=5.0 tests=BAYES_00, REPLYTO_WITHOUT_TO_CC autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,180f921ce98aef2d X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2002-03-03 05:52:40 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!headwall.stanford.edu!unlnews.unl.edu!newsfeed.ksu.edu!nntp.ksu.edu!news.okstate.edu!not-for-mail From: David Starner Newsgroups: comp.lang.ada Subject: Re: Interfacing to C++ Date: 3 Mar 2002 05:05:42 GMT Organization: Oklahoma State University Message-ID: References: Reply-To: starner@okstate.edu NNTP-Posting-Host: x8b4e5069.dhcp.okstate.edu User-Agent: slrn/0.9.7.3 (Linux) Xref: archiver1.google.com comp.lang.ada:20720 Date: 2002-03-03T05:05:42+00:00 List-Id: On Fri, 01 Mar 2002 00:09:54 GMT, Wannabe h4x0r 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."