Re: [pygccxml-development] Weird problem apparently caused by decl.readme()
Brought to you by:
mbaas,
roman_yakovenko
From: Roman Y. <rom...@gm...> - 2010-05-16 11:47:26
|
On Fri, May 14, 2010 at 3:25 PM, Benoit Leveau <ben...@mo...> wrote: > Hello, > > I managed to get a minimal script reproducing the problem. > I have a python script calling the py++ binding, and two header files > (Base.h and Derived.h). The Base class expose a virtual function called > 'dummyFunction'. The python script exclude this function from all classes. > Depending on the command line parameter, the script calls or not calls > readme() on the classes declarations. > > You need to set the GCCXML_PATH environment variable for the script to run, > or you can edit the python script. > > To reproduce the bug, cd to the extracted folder, then type: > >> python py_bug_reproduce.py 0 > look in the generated/Derived.pypp.cpp file > there is nothing exposed in the class > > THEN instead: > >> python py_bug_reproduce.py 1 > look again in the generated/Derived.pypp.cpp file, > the dummyFunction is exposed in this case > > It seems that it doesn't happen if both classes are in the same header file. Thank you very much. I was able to reproduce the problem, I am going to deeg :-) -- Roman Yakovenko C++ Python language binding http://www.language-binding.net/ |