Re: [pygccxml-development] Indexing suite in Py++ code
Brought to you by:
mbaas,
roman_yakovenko
From: Alexander E. <new...@st...> - 2007-05-15 09:00:41
|
Roman Yakovenko schrieb: > On 5/15/07, Alexander Eisenhuth <new...@st...> wrote: >> I got a compiler within visual studio: >> >> python\detail\caller.hpp(199) : error C2027: Verwendung des undefinierten Typs >> "boost::python::detail::specify_a_return_value_policy_to_wrap_functions_returning<T> >> >> In english "usage of a undefined type" >> >> Does this have something todo with indexing suite? Can I tell py++ to generate >> other code? > > Can you extract relevant piece of your code, that fails to compile? > Without seeing it I cannot answer your question. > I think this is the code. { //::ToolData_C::GetButtonMappingArray typedef ::std::vector<short unsigned int,std::allocator<short unsigned int> > & ( ::ToolData_C::*GetButtonMappingArray_function_type )( ) ; ToolData_C_exposer.def( "GetButtonMappingArray" , GetButtonMappingArray_function_type( &::ToolData_C::GetButtonMappingArray ) /* undefined call policies */ ); } |