Re: [pygccxml-development] How to get back an "emergency API"?
Brought to you by:
mbaas,
roman_yakovenko
From: Roman Y. <rom...@gm...> - 2006-03-09 05:27:17
|
On 3/8/06, Matthias Baas <ba...@ir...> wrote: > Roman Yakovenko wrote: > >> ok, at least the script runs without errors again. But I do get an err= or > >> during compilation but that's another thing now that I first have to > >> investigate...(it seems my call policies don't get assigned anymore, b= ut > >> that's ok for now). > > > > The only thing that I can say is that "it works fine for me". Could > > you investigate the > > problem. If this is a problem in pyplusplus you can commit the fix. > > ok (but I think this could just as well be a problem in my old API which > just has to be updated to the new version of pyplusplus. So far, I'm > happy that I don't get an exception anymore. :) > > >> 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 o= f > >> the factory from pygccxml). At the moment, *every* user of pyplusplus > >> would have to pass dwfactory_t explicitly whereas this is rather an > >> implementation detail. > > > > Yes and this is exactly the details that will be hidden in Allen class = :-) > > Oh, ok, but just because we will have a high level API doesn't mean we > should be "sloppy" and introduce awkward things into the low level API. > In my opinion, the low level API should still be kept clean and logical > and also as "easy to use" as possible (without having to introduce new > concepts that the high level API might already do). Maybe there are > cases where users have to go back to the low level API for whatever > reasons... Like your :-). If you can commit the fix go ahead. If you don't I will do it next week > - Matthias - Thanks -- Roman Yakovenko C++ Python language binding http://www.language-binding.net/ |