Re: [pygccxml-development] High level API
Brought to you by:
mbaas,
roman_yakovenko
From: Roman Y. <rom...@gm...> - 2006-03-19 19:59:29
|
On 3/19/06, Matthias Baas <ba...@ir...> wrote: > Roman Yakovenko wrote: > > There are some customization that user can do on declarations, even > > after code creators tree creation. > > So far, I was considering it more or less an error if the user modifies > the declaration tree after the code creator tree has been created And you was right here. The only mistake is that I did is that "Errors should never pass silently". We need to raise an error, when user tries to do it, or at least to print some warning to him. > > > But there are set of customizations that will not have > > effect on code creators. > > For example ignore. > > I don't understand that. Ignoring a declaration has the effect that the > corresponding code creator is not created, so it does have an effect on > the code creators, doesn't it? If code creators tree already created then setting ignore flag to true, will not have effect. And this is exactly the problem I spent more then 3 hours to find. It drive me crazy. So I prefer to fix it in a such way, that user at least will be aware to this. What can you recommend? -- Roman Yakovenko C++ Python language binding http://www.language-binding.net/ |