I have just checked out the 'latest' version from cvs. I notice
that the 'problem' has been fixed.
Thanks
-J
-----Original Message-----
From: Jason.Sibthorpe@aculab.com [mailto:Jason.Sibthorpe@aculab.com]
Sent: 05 September 2003 17:21
To: boost-users@lists.boost.org
Subject: [Boost-users] pyste and incomplete types
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