diff options
author | gatecat <gatecat@ds0.me> | 2021-02-12 09:53:50 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-02-12 09:53:50 +0000 |
commit | 5dfbe703ae26e6af2a1a687c06f001b6788d6fc8 (patch) | |
tree | 85a04ec931762d61c0ef668bc404d00bd4c699bc /generic/arch_pybindings.cc | |
parent | e376f950fe683b9a744437301a9e09eae1895efa (diff) | |
parent | 99e397000c2bc8a80354c31ef259c6715dd142ff (diff) | |
download | nextpnr-5dfbe703ae26e6af2a1a687c06f001b6788d6fc8.tar.gz nextpnr-5dfbe703ae26e6af2a1a687c06f001b6788d6fc8.tar.bz2 nextpnr-5dfbe703ae26e6af2a1a687c06f001b6788d6fc8.zip |
Merge pull request #581 from litghost/add_isbelhidden
Add getBelHidden and add some missing "override" statements.
Diffstat (limited to 'generic/arch_pybindings.cc')
-rw-r--r-- | generic/arch_pybindings.cc | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/generic/arch_pybindings.cc b/generic/arch_pybindings.cc index 29e8bc53..3dc04206 100644 --- a/generic/arch_pybindings.cc +++ b/generic/arch_pybindings.cc @@ -162,10 +162,9 @@ void arch_wrap_python(py::module &m) pass_through<DelayInfo>, pass_through<Loc>>::def_wrap(ctx_cls, "addPip", "name"_a, "type"_a, "srcWire"_a, "dstWire"_a, "delay"_a, "loc"_a); - fn_wrapper_4a_v<Context, decltype(&Context::addBel), &Context::addBel, conv_from_str<IdStringList>, - conv_from_str<IdString>, pass_through<Loc>, pass_through<bool>>::def_wrap(ctx_cls, "addBel", - "name"_a, "type"_a, - "loc"_a, "gb"_a); + fn_wrapper_5a_v<Context, decltype(&Context::addBel), &Context::addBel, conv_from_str<IdStringList>, + conv_from_str<IdString>, pass_through<Loc>, pass_through<bool>, + pass_through<bool>>::def_wrap(ctx_cls, "addBel", "name"_a, "type"_a, "loc"_a, "gb"_a, "hidden"_a); fn_wrapper_3a_v<Context, decltype(&Context::addBelInput), &Context::addBelInput, conv_from_str<IdStringList>, conv_from_str<IdString>, conv_from_str<IdStringList>>::def_wrap(ctx_cls, "addBelInput", "bel"_a, "name"_a, "wire"_a); |