constructor_function.hpp 659 B

1234567891011121314151617
  1. // Copyright David Abrahams 2002.
  2. // Distributed under the Boost Software License, Version 1.0. (See
  3. // accompanying file LICENSE_1_0.txt or copy at
  4. // http://www.boost.org/LICENSE_1_0.txt)
  5. #ifndef CONSTRUCTOR_FUNCTION_DWA200278_HPP
  6. # define CONSTRUCTOR_FUNCTION_DWA200278_HPP
  7. namespace boost { namespace python { namespace converter {
  8. // Declares the type of functions used to construct C++ objects for
  9. // rvalue from_python conversions.
  10. struct rvalue_from_python_stage1_data;
  11. typedef void (*constructor_function)(PyObject* source, rvalue_from_python_stage1_data*);
  12. }}} // namespace boost::python::converter
  13. #endif // CONSTRUCTOR_FUNCTION_DWA200278_HPP