Is there are way to get the address of the C++ instance pointed to by a
given Boost.Python wrapper object? I don't need a real pointer, the
address alone suffices.

The use case is to deduce interrelations between C++ objects (think a DAG)
from Python. As different Python wrapper objects might reference the same
C++ instance I can't use id() or repr() of the Python object.

Thanks,
Paul

_______________________________________________
Cplusplus-sig mailing list
Cplusplus-sig@python.org
http://mail.python.org/mailman/listinfo/cplusplus-sig

Reply via email to