On Tue, Jul 20, 2010 at 5:43 PM, Patrick Heckeler <
hecke...@informatik.uni-tuebingen.de> wrote:

>
> On 20 July 2010 17:13, Dan Kegel <d...@kegel.com> wrote:
>
>> On Tue, Jul 20, 2010 at 7:33 AM, Patrick Heckeler
>> <hecke...@informatik.uni-tuebingen.de> wrote:
>> > Is there any other possibility to wrap C++ functions?
>>
>> Well, you could use extern "C" on that one function to disable the
>> mangling,
>> but you already knew that.
>> (And it won't work if you have several functions with the same name but
>> different signatures.)
>> - Dan
>>
>
> I have tested extern "C"and it works. But I want to use the wrapping later
> on for C++ methods. And extern "C" cannot handle class methods :-)
>

It can, at least if you specify the mangled name. There are several examples
in drd/drd_qtcore_intercepts.c.

Bart.
------------------------------------------------------------------------------
This SF.net email is sponsored by Sprint
What will you do first with EVO, the first 4G phone?
Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first
_______________________________________________
Valgrind-users mailing list
Valgrind-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/valgrind-users

Reply via email to