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=-1.9 required=5.0 tests=BAYES_00 autolearn=ham autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,e0e945d31e5bac78 X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2004-03-12 12:16:50 PST Path: archiver1.google.com!news2.google.com!news.maxwell.syr.edu!newsfeed.icl.net!feed.news.tiscali.de!eusc.inter.net!cs.tu-berlin.de!uni-duisburg.de!not-for-mail From: Georg Bauhaus Newsgroups: comp.lang.ada Subject: Re: problem with CPP_* pragmas Date: Fri, 12 Mar 2004 20:16:49 +0000 (UTC) Organization: GMUGHDU Message-ID: References: NNTP-Posting-Host: l1-hrz.uni-duisburg.de X-Trace: a1-hrz.uni-duisburg.de 1079122609 25393 134.91.1.34 (12 Mar 2004 20:16:49 GMT) X-Complaints-To: usenet@news.uni-duisburg.de NNTP-Posting-Date: Fri, 12 Mar 2004 20:16:49 +0000 (UTC) User-Agent: tin/1.5.8-20010221 ("Blue Water") (UNIX) (HP-UX/B.11.00 (9000/800)) Xref: archiver1.google.com comp.lang.ada:6289 Date: 2004-03-12T20:16:49+00:00 List-Id: Szymon Guz wrote: : Is there some other way to import the above function into Ada than using : pragma Import and rewriting all the functions ? I'm not sure why you say rewrite. If you import the function it usually means that the body of the function is not written as part of your program's text, but imported from somewhere else, in a compiled form. That is you write an Ada spec for the function and you import its body. In this case it is imported from compiled C++ with the help of an additional pragma that "links" the function to CA and its vtable, if I understand this correctly.