From c6c66dcfdfb833d300ae8e7e9160b4ac2947cf18 Mon Sep 17 00:00:00 2001
From: Justin Carpentier <justin.carpentier@inria.fr>
Date: Wed, 1 Apr 2020 09:42:35 +0200
Subject: [PATCH] core: rename RVALUE_FROM_PYTHON_DATA_INIT

---
 include/eigenpy/eigen-from-python.hpp | 6 +++---
 include/eigenpy/quaternion.hpp        | 2 +-
 2 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/include/eigenpy/eigen-from-python.hpp b/include/eigenpy/eigen-from-python.hpp
index 098b44c8..f74bdab6 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 fd231891..eca40145 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>
-- 
GitLab