comp.lang.ada
 help / color / mirror / Atom feed
From: Georg Bauhaus <sb463ba@l1-hrz.uni-duisburg.de>
Subject: Re: problem with CPP_* pragmas
Date: Fri, 12 Mar 2004 20:16:49 +0000 (UTC)
Date: 2004-03-12T20:16:49+00:00	[thread overview]
Message-ID: <c2t5rh$oph$2@a1-hrz.uni-duisburg.de> (raw)
In-Reply-To: c2t2lm$ast$1@atlantis.news.tpi.pl

Szymon Guz <guzo@stud.ics.p.lodz.pl> 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.




      reply	other threads:[~2004-03-12 20:16 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-03-10 22:31 problem with CPP_* pragmas Szymon Guz
2004-03-11 13:18 ` Georg Bauhaus
2004-03-11 21:55   ` Szymon Guz
2004-03-12 18:52     ` Georg Bauhaus
2004-03-12 19:22       ` Szymon Guz
2004-03-12 20:16         ` Georg Bauhaus [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