1
0
mirror of https://github.com/YosysHQ/nextpnr.git synced 2026-04-27 12:38:40 +00:00

Update pybind11 to version 2.6.1

This commit is contained in:
Miodrag Milanovic
2021-01-02 10:15:39 +01:00
parent c6cdf30501
commit e76cdab6dd
202 changed files with 11682 additions and 4205 deletions

View File

@@ -41,7 +41,7 @@ TEST_SUBMODULE(local_bindings, m) {
// should raise a runtime error from the duplicate definition attempt. If test_class isn't
// available it *also* throws a runtime error (with "test_class not enabled" as value).
m.def("register_local_external", [m]() {
auto main = py::module::import("pybind11_tests");
auto main = py::module_::import("pybind11_tests");
if (py::hasattr(main, "class_")) {
bind_local<LocalExternal, 7>(m, "LocalExternal", py::module_local());
}