staticforward and C++

Ahmed Bouferguene ahmed.bouferguene at Newlix.com
Wed May 23 11:36:35 EDT 2001


Greetings ,

I am trying to write an extension in C++. I sort of follwed the same
path as when working with C. However,

whenever I tried to compile my code, I got this error :

a.cc:73: redefinition of `struct PyTypeObject Testtype'
a.cc:23: `struct PyTypeObject Testtype' previously declared here

Is there a trick I am missing !?

Thanks








More information about the Python-list mailing list