| 63 | } |
| 64 | |
| 65 | const char *cpp_std() { |
| 66 | return |
| 67 | #if defined(PYBIND11_CPP20) |
| 68 | "C++20"; |
| 69 | #elif defined(PYBIND11_CPP17) |
| 70 | "C++17"; |
| 71 | #elif defined(PYBIND11_CPP14) |
| 72 | "C++14"; |
| 73 | #else |
| 74 | "C++11"; |
| 75 | #endif |
| 76 | } |
| 77 | |
| 78 | PYBIND11_MODULE(pybind11_tests, m, py::mod_gil_not_used()) { |
| 79 | m.doc() = "pybind11 test module"; |