diff --git a/include/eigenpy/eigen-from-python.hpp b/include/eigenpy/eigen-from-python.hpp index 098b44c8c99c76472f86d71a4398ea59666d8d06..f74bdab603e09a929a195a70f129609a7efa0745 100644 --- a/include/eigenpy/eigen-from-python.hpp +++ b/include/eigenpy/eigen-from-python.hpp @@ -148,7 +148,7 @@ namespace boost { namespace python { namespace converter { } }; -#define RVALUE_FROM_PYTHON_DATA_INIT(type) \ +#define EIGENPY_RVALUE_FROM_PYTHON_DATA_INIT(type) \ typedef rvalue_from_python_data_eigen<type> Base; \ \ rvalue_from_python_data(rvalue_from_python_stage1_data const & _stage1) \ @@ -162,7 +162,7 @@ namespace boost { namespace python { namespace converter { struct rvalue_from_python_data<Eigen::MatrixBase<Derived> const &> : rvalue_from_python_data_eigen<Derived const &> { - RVALUE_FROM_PYTHON_DATA_INIT(Derived const &) + EIGENPY_RVALUE_FROM_PYTHON_DATA_INIT(Derived const &) }; /// \brief Template specialization of rvalue_from_python_data @@ -170,7 +170,7 @@ namespace boost { namespace python { namespace converter { struct rvalue_from_python_data<Eigen::EigenBase<Derived> const &> : rvalue_from_python_data_eigen<Derived const &> { - RVALUE_FROM_PYTHON_DATA_INIT(Derived const &) + EIGENPY_RVALUE_FROM_PYTHON_DATA_INIT(Derived const &) }; template<typename MatType, int Options, typename Stride> diff --git a/include/eigenpy/quaternion.hpp b/include/eigenpy/quaternion.hpp index fd2318914e3fdbe5c68ceb2563b0ded9f04f90f2..eca40145fc12acd58643320b9edb7e107a015805 100644 --- a/include/eigenpy/quaternion.hpp +++ b/include/eigenpy/quaternion.hpp @@ -19,7 +19,7 @@ namespace boost { namespace python { namespace converter { struct rvalue_from_python_data<Eigen::QuaternionBase<Quaternion> const &> : rvalue_from_python_data_eigen<Quaternion const &> { - RVALUE_FROM_PYTHON_DATA_INIT(Quaternion const &) + EIGENPY_RVALUE_FROM_PYTHON_DATA_INIT(Quaternion const &) }; template <class Quaternion>