From 30f0c582e4b809dd860d34c8c4c598a91374b029 Mon Sep 17 00:00:00 2001 From: David Shah Date: Sun, 31 Mar 2019 17:28:45 +0100 Subject: python: Named argument support Signed-off-by: David Shah --- generic/arch_pybindings.cc | 1 + 1 file changed, 1 insertion(+) (limited to 'generic/arch_pybindings.cc') diff --git a/generic/arch_pybindings.cc b/generic/arch_pybindings.cc index 5eabd42a..04620cd5 100644 --- a/generic/arch_pybindings.cc +++ b/generic/arch_pybindings.cc @@ -30,6 +30,7 @@ NEXTPNR_NAMESPACE_BEGIN void arch_wrap_python() { using namespace PythonConversion; + auto arch_cls = class_, boost::noncopyable>("Arch", init()); auto ctx_cls = class_, boost::noncopyable>("Context", no_init) .def("checksum", &Context::checksum) -- cgit v1.2.3