Re: [pygccxml-development] Feature proposal: "Argument policies"
Brought to you by:
mbaas,
roman_yakovenko
From: Roman Y. <rom...@gm...> - 2006-04-20 05:23:20
|
On 4/19/06, Roman Yakovenko <rom...@gm...> wrote: I'd like to add next example, from what you can see that argument policies should be able to deal with more complex case: //read from some file int read( byte* buffer, unsigned int buffer_size ); This is very interesting use case for "argument policies", because we should deal with two arguments at the same time. The generated code will not be very different from code generated by using OutputArray/InputArray policies. I can create an example, that binds between return value and some argument. I want to say that "argument policies" feature should be rename. New feature should deal with an examples I showed. So it does not deal any more with single argument, but with whole function. Bottom line - new name needed. Suggestions: [ function ] wrapper call policies Comments? -- Roman Yakovenko C++ Python language binding http://www.language-binding.net/ |