mirror of
https://github.com/pybind/pybind11.git
synced 2025-02-23 17:09:27 +00:00
Assert ABI version 106
This commit is contained in:
parent
b8cf283e2e
commit
0a130f24f6
@ -5,8 +5,8 @@
|
||||
#pragma once
|
||||
|
||||
#include "pybind11.h"
|
||||
static_assert(PYBIND11_INTERNALS_VERSION >= 6,
|
||||
"pybind11 ABI version 6 is required for smart_holder functionality.");
|
||||
static_assert(PYBIND11_INTERNALS_VERSION == 106,
|
||||
"pybind11 ABI version 106 is required for smart_holder functionality.");
|
||||
|
||||
// Legacy macros introduced with smart_holder_type_casters implementation in 2021.
|
||||
// Deprecated.
|
||||
|
Loading…
Reference in New Issue
Block a user