mirror of
https://github.com/pybind/pybind11.git
synced 2024-11-22 05:05:11 +00: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/buffer_info.h
|
||||||
include/pybind11/cast.h
|
include/pybind11/cast.h
|
||||||
include/pybind11/chrono.h
|
include/pybind11/chrono.h
|
||||||
|
include/pybind11/common.h
|
||||||
include/pybind11/complex.h
|
include/pybind11/complex.h
|
||||||
include/pybind11/options.h
|
include/pybind11/options.h
|
||||||
include/pybind11/eigen.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'."
|
1
setup.py
1
setup.py
@ -23,6 +23,7 @@ else:
|
|||||||
'include/pybind11/buffer_info.h',
|
'include/pybind11/buffer_info.h',
|
||||||
'include/pybind11/cast.h',
|
'include/pybind11/cast.h',
|
||||||
'include/pybind11/chrono.h',
|
'include/pybind11/chrono.h',
|
||||||
|
'include/pybind11/common.h',
|
||||||
'include/pybind11/complex.h',
|
'include/pybind11/complex.h',
|
||||||
'include/pybind11/eigen.h',
|
'include/pybind11/eigen.h',
|
||||||
'include/pybind11/embed.h',
|
'include/pybind11/embed.h',
|
||||||
|
Loading…
Reference in New Issue
Block a user