File tree Expand file tree Collapse file tree 1 file changed +8
-12
lines changed Expand file tree Collapse file tree 1 file changed +8
-12
lines changed Original file line number Diff line number Diff line change 33 * Copyright 2018-2023, INRIA
44 */
55
6+ #include " eigenpy/fwd.hpp"
7+
8+ EIGENPY_DEPRECATED_FILE (
9+ " This header file is now useless and should not be included anymore." )
10+
611#ifndef __eigenpy_memory_hpp__
712#define __eigenpy_memory_hpp__
813
9- #include " eigenpy/fwd.hpp"
10-
1114/* *
1215 * This section contains a convenience MACRO which allows an easy specialization
1316 * of Boost Python Object allocator for struct data types containing Eigen
1417 * objects and requiring strict alignment.
1518 */
16- #define EIGENPY_DEFINE_STRUCT_ALLOCATOR_SPECIALIZATION (...) \
17- namespace boost { \
18- namespace python { \
19- namespace objects { \
20- template <> \
21- struct instance <value_holder<__VA_ARGS__> > \
22- : ::eigenpy::aligned_instance<value_holder<__VA_ARGS__> > {}; \
23- } \
24- } \
25- }
19+ #define EIGENPY_DEFINE_STRUCT_ALLOCATOR_SPECIALIZATION (...) \
20+ EIGENPY_DEPRECATED_MACRO (EIGENPY_DEFINE_STRUCT_ALLOCATOR_SPECIALIZATION(), \
21+ "it is no more needed.")
2622
2723#endif // __eigenpy_memory_hpp__
You can’t perform that action at this time.
0 commit comments