Skip to content

Commit 86d6f32

Browse files
committed
Added documentation in memory alignement.
1 parent 3c848c2 commit 86d6f32

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

src/memory.hpp

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,12 @@
2323
* This section contains a convenience MACRO which allows an easy specialization of
2424
* Boost Python Object allocator for struct data types containing Eigen objects and requiring
2525
* strict alignment.
26+
*
27+
* This code was proposed as an stackoverflow answer:
28+
* http://stackoverflow.com/questions/13177573/how-to-expose-aligned-class-with-boost-python/29694518
29+
* Leading to this page proposing the solution:
30+
* http://fhtagn.net/prog/2015/04/16/quaternion_boost_python.html
31+
*
2632
*/
2733
#define EIGENPY_DEFINE_STRUCT_ALLOCATOR_SPECIALIZATION(...) \
2834
namespace boost { namespace python { namespace objects { \

0 commit comments

Comments
 (0)