mirror of
https://github.com/pybind/pybind11.git
synced 2026-06-06 07:51:47 +00:00
transparent conversion of dense and sparse Eigen types
This commit is contained in:
@@ -27,6 +27,10 @@ void init_ex15(py::module &);
|
||||
void init_ex16(py::module &);
|
||||
void init_issues(py::module &);
|
||||
|
||||
#if defined(PYBIND11_TEST_EIGEN)
|
||||
void init_eigen(py::module &);
|
||||
#endif
|
||||
|
||||
PYBIND11_PLUGIN(example) {
|
||||
py::module m("example", "pybind example plugin");
|
||||
|
||||
@@ -48,5 +52,9 @@ PYBIND11_PLUGIN(example) {
|
||||
init_ex16(m);
|
||||
init_issues(m);
|
||||
|
||||
#if defined(PYBIND11_TEST_EIGEN)
|
||||
init_eigen(m);
|
||||
#endif
|
||||
|
||||
return m.ptr();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user