[C++-sig] R: Re: Boost.Python type registry
jumpjoe at fastwebnet.it
jumpjoe at fastwebnet.it
Thu Oct 4 11:55:38 CEST 2007
>AFAIK, there is nothing in the API to help you there. Boost.Python doesn't
>work directly this way internally. It provides a way to test if an
>instance holds a given type, but nothing to return the contained type
>info.
Is there at least a way to get a raw pointer to the wrapped object from a
PyObject? I think extract<> is doing it.
Cheers,
Giovanni Beltrame
More information about the Cplusplus-sig
mailing list