On Wed, Aug 5, 2009 at 8:46 PM, Roman
Yakovenko<rom...@gm...> wrote:
> Hello Berserker
>
> I am starting to work on "function adaptors" feature and the following
> is what I think to implement:
>
> Declarations, which will support this feature:
> * member function which are: public, non virtual, without transformation,
> * free functions.
>
> The user will specify fully qualified adaptor name, and Py++ will take
> it and generate the following code:
>
> <addaptor name>( function reference )
>
> Is it enough? Will it suite your needs?
I commited the code and testers to SVN:
http://pygccxml.svn.sourceforge.net/viewvc/pygccxml?view=rev&revision=1741
pyplusplus_dev/unittests/function_adaptor_tester.py files contains
usage example.
HTH
--
Roman Yakovenko
C++ Python language binding
http://www.language-binding.net/
|