Hi,
I have encountered a problem with pyste and incomplete types. From earlier
posts and the doco I think that pyste should generate
BOOST_PYTHON_OPAQUE_SPECIALIZED_TYPE_ID(it)
But is does not currently (boost boost-1.30.2).
invoking bjam without the BOOST_PYTHON_OPAQUE_SPECIALIZED_TYPE_ID(it)
results
in the output attached (output1)
with BOOST_PYTHON_OPAQUE_SPECIALIZED_TYPE_ID(it) results
in the output attached (output2)
In either case It does not build. Am I misunderstanding something?
Thanks
Jason
////////////////////////////////////////////////////////////////////////////
///
//// incomplete_type.h
////////////////////////////////////////////////////////////////////////////
///
typedef struct incomplete_type it;
it *func1(void);
////////////////////////////////////////////////////////////////////////////
///
//// incomplete_type.pyste
////////////////////////////////////////////////////////////////////////////
///
itype = AllFromHeader("incomplete_type.h")
set_policy(itype.func1, return_value_policy('return_opaque_pointer'))
// Note the stringified 'return_opaque_pointer'
////////////////////////////////////////////////////////////////////////////
///
//// itype.cpp - pyste output:
////////////////////////////////////////////////////////////////////////////
///
// Includes
===================================================================
#include