From 86d6f32d0b22c59b53cc1583f4d8747398132204 Mon Sep 17 00:00:00 2001
From: Mansard <nmansard@laas.fr>
Date: Mon, 20 Jun 2016 09:51:12 +0200
Subject: [PATCH] Added documentation in memory alignement.

---
 src/memory.hpp | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/src/memory.hpp b/src/memory.hpp
index a9fa9ba2..99d5d4f3 100644
--- a/src/memory.hpp
+++ b/src/memory.hpp
@@ -23,6 +23,12 @@
  * This section contains a convenience MACRO which allows an easy specialization of
  * Boost Python Object allocator for struct data types containing Eigen objects and requiring
  * strict alignment.
+ *
+ * This code was proposed as an stackoverflow answer:
+ *     http://stackoverflow.com/questions/13177573/how-to-expose-aligned-class-with-boost-python/29694518
+ * Leading to this page proposing the solution:
+ *     http://fhtagn.net/prog/2015/04/16/quaternion_boost_python.html
+ *
  */
 #define EIGENPY_DEFINE_STRUCT_ALLOCATOR_SPECIALIZATION(...) \
 namespace boost { namespace python { namespace objects { \
-- 
GitLab