mirror of
https://github.com/pybind/pybind11.git
synced 2024-11-22 05:05:11 +00:00
[common.h] Mark another entry point as "unused". (#2625)
This commit is contained in:
parent
3a37d33830
commit
f2e799863b
@ -311,7 +311,7 @@ extern "C" {
|
||||
\endrst */
|
||||
#define PYBIND11_MODULE(name, variable) \
|
||||
static ::pybind11::module_::module_def \
|
||||
PYBIND11_CONCAT(pybind11_module_def_, name); \
|
||||
PYBIND11_CONCAT(pybind11_module_def_, name) PYBIND11_MAYBE_UNUSED; \
|
||||
PYBIND11_MAYBE_UNUSED \
|
||||
static void PYBIND11_CONCAT(pybind11_init_, name)(::pybind11::module_ &); \
|
||||
PYBIND11_PLUGIN_IMPL(name) { \
|
||||
|
Loading…
Reference in New Issue
Block a user