mirror of
https://github.com/pybind/pybind11.git
synced 2026-05-11 17:00:34 +00:00
This reimplements the version check to avoid sscanf (which has reportedly started throwing warnings under MSVC, even when used perfectly safely -- #1314). It also extracts the mostly duplicated parts of PYBIND11_MODULE/PYBIND11_PLUGIN into separate macros.