mirror of
https://github.com/RYDE-WORK/pybind11.git
synced 2026-01-26 17:09:27 +08:00
Add a dummy common.h header with a deprecation warning
This commit is contained in:
parent
00b8f3655d
commit
a80af9557d
@ -51,6 +51,7 @@ set(PYBIND11_HEADERS
|
||||
include/pybind11/buffer_info.h
|
||||
include/pybind11/cast.h
|
||||
include/pybind11/chrono.h
|
||||
include/pybind11/common.h
|
||||
include/pybind11/complex.h
|
||||
include/pybind11/options.h
|
||||
include/pybind11/eigen.h
|
||||
|
||||
2
include/pybind11/common.h
Normal file
2
include/pybind11/common.h
Normal file
@ -0,0 +1,2 @@
|
||||
#include "detail/common.h"
|
||||
#warning "Including 'common.h' is deprecated. It will be removed in v3.0. Use 'pybind11.h'."
|
||||
Loading…
x
Reference in New Issue
Block a user