Re: [pygccxml-development] Parameter passing, ownership semantics
Brought to you by:
mbaas,
roman_yakovenko
From: Gustavo C. <gjc...@gm...> - 2007-02-18 19:50:14
|
On 2/18/07, Roman Yakovenko <rom...@gm...> wrote: > > I committed new function transformation: transfer ownership. The > documentation > will come later. For usage example take a look on unittests: > ( look for "transfer_ownership" ) > > http://pygccxml.svn.sourceforge.net/viewvc/pygccxml/pyplusplus_dev/unittests/function_transformations_tester.py?view=markup > > http://pygccxml.svn.sourceforge.net/viewvc/pygccxml/pyplusplus_dev/unittests/data/function_transformations_to_be_exported.hpp?view=markup Thanks! Unfortunately the generated code does not compile when I try to use that feature: default/bindings/python/__call_policies.pypp.hpp:14:58: error: boost/python/suite/indexing/iterator_range.hpp: No such file or directory default/bindings/python/__call_policies.pypp.hpp:172: error: 'pyplusplus::call_policies::bpl::indexing' has not been declared default/bindings/python/__call_policies.pypp.hpp:172: error: ISO C++ forbids declaration of 'iterator_range' with no type default/bindings/python/__call_policies.pypp.hpp:172: error: typedef name may not be a nested-name-specifier default/bindings/python/__call_policies.pypp.hpp:172: error: expected ';' before '<' token [...etc...] From "boost/python/suite/indexing/iterator_range.hpp: No such file or directory", does this sound like I need to get a newer boost::python library or something? Thanks in advance. -- Gustavo J. A. M. Carneiro "The universe is always one step beyond logic." |