diff options
Diffstat (limited to 'ice40')
-rw-r--r-- | ice40/pybindings.cc | 4 |
1 files changed, 2 insertions, 2 deletions
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>("Arch", init<ArchArgs>()) + class_<Arch, Arch *, bases<BaseCtx>>("Arch", init<ArchArgs>()) .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 |