Roman Yakovenko wrote:
> reader = parser.project_reader_t( config, None, decl_wrappers.dwfactory_t() )
Ah! I hadn't found the dwfactory_t class. I was only searching for a
file name with "factory" in its name, I didn't expect it to be "hidden"
in the __init__ module... ;)
When I also used that factory class, it worked again (which is somewhat
weird because my own factory class was almost the same, the only
difference was that I didn't derive from decl_factory_t).
ok, at least the script runs without errors again. But I do get an error
during compilation but that's another thing now that I first have to
investigate...(it seems my call policies don't get assigned anymore, but
that's ok for now).
I think now that pyplusplus relies on seeing its own declaration
classes, it would be useful to introduce a parse() function in
pyplusplus (which would use the dwfactory_t class as default instead of
the factory from pygccxml). At the moment, *every* user of pyplusplus
would have to pass dwfactory_t explicitly whereas this is rather an
- Matthias -