Re: [pygccxml-development] Project architecture and Py++
Brought to you by:
mbaas,
roman_yakovenko
From: Roman Y. <rom...@gm...> - 2010-07-19 05:15:14
|
On Mon, Jul 19, 2010 at 7:50 AM, Alexey Stepanov <Ale...@ro...> wrote: > Thanks a lot the reply. If I understood your advice correctly, such an approach is not good for me, for it had got some important drawbacks. > (i.e. I have to make header files, and cpp for them is to be generated with the code injection) > > Firstly, in any case this code is being located in the same cpp files with the wrappers, though I have not corrected them (time of compilation!). > Secondly, before correction the code must be written first in the separate files, and then the generating script is be executed (time on gccxml!). > Thirdly, the manually made headers have to be corrected separately from realizations. > > Looking at the generated file structure I surmised, that there is an ordinary possibility to move the wrapeprs into the header file > (I have not found such a one) and simply include them into the generated file (I've found such a possibility). > > Do you have any ideas how to move in this direction? May be it is my English, but I am not able to understand you. What Benoit described, is just a way to integrate generated code with the hand-written one. If you don't like it, you can choose your own one. py++ is pretty flexible. -- Roman Yakovenko C++ Python language binding http://www.language-binding.net/ |