On Tue, Jul 20, 2010 at 5:43 PM, Patrick Heckeler <
[email protected]> wrote:
>
> On 20 July 2010 17:13, Dan Kegel <[email protected]> wrote:
>
>> On Tue, Jul 20, 2010 at 7:33 AM, Patrick Heckeler
>> <[email protected]> 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
[email protected]
https://lists.sourceforge.net/lists/listinfo/valgrind-users