generic way to access C++ libs?

Neil Hodgson nhodgson at bigpond.net.au
Sat Nov 6 14:51:02 EST 2004


Diez B. Roggisch:

> The name mangling is not the important part - memory layout of the objects
> is. As setting members is made due to offsets to the objects address in
> memory, one has to know exactly in which order declared and possibly
> inherited members are layed out. And as this is not part of the c++
> standard, every compiler does it as it suits it.

   The layout is also modified by various compiler options. I believe that,
with  symbolic debugging information, this feature could be implemented but
it would be a large amount of work.

   Neil





More information about the Python-list mailing list