Christopher,
there is a much easier way to treat a FILE* as a C++ stream. The easy
way is to use my open source library (mds-utils,
http://code.google.com/p/mds-utils/).
I have easy ways to do what you want both from C++ (i.e. treating a
FILE* as a C++ std::stream) and from Python (treating Pytho
Can I suppress generation of the BOOST_PYTHON_MODULE while retaining the
rest of the functionality the module builder provides?
___
Cplusplus-sig mailing list
Cplusplus-sig@python.org
http://mail.python.org/mailman/listinfo/cplusplus-sig
On 03/30/2010 10:30 AM, Nathan Stewart wrote:
Can I suppress generation of the BOOST_PYTHON_MODULE while retaining
the rest of the functionality the module builder provides?
I'm not sure what you are referring to by "module builder", but all that
can appear inside BOOST_PYTHON_MODULE may also
This is used in production code:
http://cctbx.svn.sourceforge.net/viewvc/cctbx/trunk/boost_adaptbx/python_streambuf.h?view=markup
See also:
http://cctbx.svn.sourceforge.net/viewvc/cctbx/trunk/boost_adaptbx/tests/
python_streambuf_test_ext.cpp
tst_python_streambuf.py
tst_stderr_stdout.py
tst_st