Macros
memory.hpp File Reference
#include "eigenpy/fwd.hpp"
Include dependency graph for memory.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define EIGENPY_DEFINE_STRUCT_ALLOCATOR_SPECIALIZATION(...)
 

Macro Definition Documentation

#define EIGENPY_DEFINE_STRUCT_ALLOCATOR_SPECIALIZATION (   ...)

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

Definition at line 22 of file memory.hpp.



eigenpy
Author(s): Justin Carpentier, Nicolas Mansard
autogenerated on Sat Apr 17 2021 02:37:59