From: Brian May <bam@snoopy.apana.org.au>
Subject: Re: Calling C++ methods from Ada..
Date: Sat, 04 Dec 2004 21:09:16 +1100
Date: 2004-12-04T21:09:16+11:00 [thread overview]
Message-ID: <sa4d5xqfk8j.fsf@snoopy.apana.org.au> (raw)
In-Reply-To: pan.2004.12.03.13.58.31.425358@n_o_p_o_r_k_a_n_d_h_a_m.abyss2.demon.co.uk
>>>>> "Luke" == Luke A Guest <laguest@n_o_p_o_r_k_a_n_d_h_a_m.abyss2.demon.co.uk> writes:
Luke> So, the example could be written like this: pragma
Luke> import(CPP, GCC3, SET_TIME, "void Time::SetTime(...)");
Luke> Although, I'm not sure why he would be passing in a pointer
Luke> to a set time function ;-)
Of course you need at least one pointer - don't forget the hidden C++
*this parameter...
(I am still assuming the function in question is static).
--
Brian May <bam@snoopy.apana.org.au>
next prev parent reply other threads:[~2004-12-04 10:09 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-12-01 21:11 Calling C++ methods from Ada Ganesh Ramasivan
2004-12-01 23:05 ` Luke A. Guest
2004-12-02 0:21 ` Jeff C r e e.m
2004-12-02 11:12 ` Brian May
2004-12-02 21:32 ` Luke A. Guest
2004-12-02 21:49 ` Adrien Plisson
2004-12-03 8:59 ` Martin Krischik
2004-12-03 13:55 ` Luke A. Guest
2004-12-03 13:58 ` Luke A. Guest
2004-12-04 10:09 ` Brian May [this message]
2004-12-03 14:06 ` Luke A. Guest
2004-12-04 13:22 ` Georg Bauhaus
2004-12-05 1:51 ` David Botton
2004-12-02 4:36 ` Brian May
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox