[C++-sig] PyTypeObject of an exported C++ class

Pierre Barbier de Reuille pierre.barbier at cirad.fr
Wed May 26 17:48:45 CEST 2004


Is there a way to get the PyTypeObject of a C++ class exported with
Boost.Python ?

I need it to do some experiment with the cyclic garbage collection (so I
need to build myself the PyObject* using PyObject_GC_New). So if anybody
has already experimented things like that, I'll be very interested in
their comments.

Thanks,

Pierre

-- 
Pierre Barbier de Reuille

INRA - UMR Cirad/Inra/Cnrs/Univ.MontpellierII AMAP
Botanique et Bio-informatique de l'Architecture des Plantes
TA40/PSII, Boulevard de la Lironde
34398 MONTPELLIER CEDEX 5, France

tel   : (33) 4 67 61 65 77    fax   : (33) 4 67 61 56 68 





More information about the Cplusplus-sig mailing list