boost/python/return_value_policy.hpp
// Copyright David Abrahams 2002. Permission to copy, use, // modify, sell and distribute this software is granted provided this // copyright notice appears in all copies. This software is provided // "as is" without express or implied warranty, and with no claim as // to its suitability for any purpose. #ifndef RETURN_VALUE_POLICY_DWA2002131_HPP # define RETURN_VALUE_POLICY_DWA2002131_HPP # include <boost/python/detail/prefix.hpp> # include <boost/python/default_call_policies.hpp> namespace boost { namespace python { template <class ResultConverterGenerator, class BasePolicy_ = default_call_policies> struct return_value_policy : BasePolicy_ { typedef ResultConverterGenerator result_converter; }; }} // namespace boost::python #endif // RETURN_VALUE_POLICY_DWA2002131_HPP