From 53f50f9840ac8ce80afc740a9d85c5a36c46a851 Mon Sep 17 00:00:00 2001
From: Justin Carpentier <justin.carpentier@inria.fr>
Date: Mon, 20 Feb 2023 12:45:28 +0100
Subject: [PATCH] core: add helper EIGENPY_UNUSED_TYPE

---
 include/eigenpy/fwd.hpp | 1 +
 1 file changed, 1 insertion(+)

diff --git a/include/eigenpy/fwd.hpp b/include/eigenpy/fwd.hpp
index bb8a191..35ea873 100644
--- a/include/eigenpy/fwd.hpp
+++ b/include/eigenpy/fwd.hpp
@@ -104,6 +104,7 @@ namespace bp = boost::python;
 #define EIGENPY_NO_ALIGNMENT_VALUE Eigen::Unaligned
 
 #define EIGENPY_UNUSED_VARIABLE(var) (void)(var)
+#define EIGENPY_UNUSED_TYPE(type) (type *)(NULL)
 
 #ifdef EIGENPY_WITH_CXX11_SUPPORT
 #include <memory>
-- 
GitLab