Re: [pygccxml-development] Function adaptors
Brought to you by:
mbaas,
roman_yakovenko
From: Roman Y. <rom...@gm...> - 2009-08-06 12:03:41
|
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/ |