aboutsummaryrefslogtreecommitdiff
path: root/include/pybind11/eigen/common.h
blob: 24f56d158442c2e2f4667806e91fd94b476cc96e (plain)
1
2
3
4
5
6
7
8
9
// Copyright (c) 2023 The pybind Community.

#pragma once

// Common message for `static_assert()`s, which are useful to easily
// preempt much less obvious errors.
#define PYBIND11_EIGEN_MESSAGE_POINTER_TYPES_ARE_NOT_SUPPORTED                                    \
    "Pointer types (in particular `PyObject *`) are not supported as scalar types for Eigen "     \
    "types."