common.h 378 B

123456789
  1. // Copyright (c) 2023 The pybind Community.
  2. #pragma once
  3. // Common message for `static_assert()`s, which are useful to easily
  4. // preempt much less obvious errors.
  5. #define PYBIND11_EIGEN_MESSAGE_POINTER_TYPES_ARE_NOT_SUPPORTED \
  6. "Pointer types (in particular `PyObject *`) are not supported as scalar types for Eigen " \
  7. "types."