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