2
0
mirror of https://github.com/boostorg/python.git synced 2026-01-22 17:32:55 +00:00

This commit was manufactured by cvs2svn to create tag

'merged_to_RC_1_32_0'.

[SVN r26255]
This commit is contained in:
nobody
2004-11-19 14:17:03 +00:00
parent 92ff4ab76f
commit 275e5ee6ad
44 changed files with 6103 additions and 6431 deletions

View File

@@ -9,22 +9,22 @@
* compiler's bug.
*/
#include <boost/python.hpp>
#include <boost/type_traits/broken_compiler_spec.hpp>
using namespace boost::python;
bool accept_const_arg_noproto( const object)
BOOST_TT_BROKEN_COMPILER_SPEC( object )
#if BOOST_WORKAROUND(BOOST_MSVC, == 1200)
bool accept_const_arg( object );
#endif
bool accept_const_arg( const object )
{
return true;
}
bool accept_const_arg_with_proto( object);
bool accept_const_arg_with_proto( const object)
{
return true;
}
BOOST_PYTHON_MODULE( const_argument_ext)
BOOST_PYTHON_MODULE( const_argument_ext )
{
def( "accept_const_arg_noproto", accept_const_arg_noproto);
def( "accept_const_arg_with_proto", accept_const_arg_with_proto);
def( "accept_const_arg", accept_const_arg );
}