Rcpp supports a pkg_types.h file which allows you to declare types used in your package, which can then be used in the cpp11-exports.cpp file. We should probably do the same, it is a good way to support custom types and headers.
Rcpp supports a pkg_types.h file which allows you to declare types used in your package, which can then be used in the cpp11-exports.cpp file.
We should probably do the same, it is a good way to support custom types and headers.