Re: [pygccxml-development] Auto-wrapping methods taking non-const reference
Brought to you by:
mbaas,
roman_yakovenko
|
From: Allen B. <al...@vr...> - 2006-07-28 20:06:19
|
Roman Yakovenko wrote: > On 7/28/06, Allen Bierbaum <al...@vr...> wrote: > >> This sounds like a great idea. I like the idea of the interface and how >> you specify that arguments should be used in what way. Please let me >> know if you need help testing or migrating this to Roman's interface in >> pyplusplus. > > > I don't see any problems to add such functionality to py++. But I'd > like to see the > whole picture first: > 1. Immutable arguments could be in, out, inout. > 2. pointers to fundamental types: > could be arrays with different size policy > 3. status as exception > 4. custom user policies[ precall, call, postcall ] > 4.1 what are performace penalties? > 5. what should be done for [pure]virtual functions > 6. Another valid question: why do you to insert such functionality > into core of > py++? I am not sure that big monolitic core is a good idea. Making py++ > better support plug-ins could be a better idea. I like the idea of option 6. If it was possible to graft on plugins that could add support for this type of thing, it may be possible to keep pyplusplus more modular and understandable. > > Lack of time is the main reason I didn't implement it until now. I > don't have time > to answer all those questions and analize the usecases. > Luckily it looks like Matthias has already taken a look and gotten a pretty useful version working. :) -Allen |