[C++-sig] Registration order in pyplusplus

Niall Douglas s_sourceforge at nedprod.com
Thu Feb 9 15:25:01 CET 2006


On 9 Feb 2006 at 14:18, Roman Yakovenko wrote:

> > Did you commit your changes to CVS?
> 
> Yes I do. May be it takes some time?
> Any way I attach relevant file. Please, place it to code_creators package.

Obviously it takes time to propogate on sourceforge. God I hate CVS. 
Bring on subversion!

You're still missing something - where currently it outputs:

        FXACL_exposer_t FXACL_exposer = FXACL_exposer_t( "FXACL", 
bp::init< FX::FXACL::EntityType, FX::FXACLEntity const & >()/*[ 
undefined call policies ]*/ );

... it should be:

        FXACL_exposer_t FXACL_exposer = FXACL_exposer_t( "FXACL", 
bp::init< bp::optional< FX::FXACL::EntityType, FX::FXACLEntity const 
& > >()/*[ undefined call policies ]*/ );

... because otherwise you must always specify construction parameters 
even when defaults are available.

I think this is a very easy fix.

Cheers,
Niall






More information about the Cplusplus-sig mailing list