From 37bad1f99ed8c50cd815b588341a5b0fc4200af0 Mon Sep 17 00:00:00 2001 From: David Shah Date: Sat, 23 Jun 2018 19:51:22 +0200 Subject: Fixing the Python bindings following Context/Arch refactoring Signed-off-by: David Shah --- ice40/pybindings.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'ice40') diff --git a/ice40/pybindings.cc b/ice40/pybindings.cc index 4c707e65..bb591289 100644 --- a/ice40/pybindings.cc +++ b/ice40/pybindings.cc @@ -53,7 +53,7 @@ void arch_wrap_python() ; #undef X - class_("Arch", init()) + class_>("Arch", init()) .def("getBelByName", &Arch::getBelByName) .def("getWireByName", &Arch::getWireByName) .def("getBelName", &Arch::getBelName) @@ -85,4 +85,4 @@ void arch_wrap_python() NEXTPNR_NAMESPACE_END -#endif // NO_PYTHON \ No newline at end of file +#endif // NO_PYTHON -- cgit v1.2.3