diff options
author | YRabbit <rabbit@yrabbit.cyou> | 2022-07-10 08:05:25 +1000 |
---|---|---|
committer | YRabbit <rabbit@yrabbit.cyou> | 2022-07-10 08:05:25 +1000 |
commit | ecddac7b18526940db529389b7efdae299b7dd12 (patch) | |
tree | fb27cb7b7d8a3a79d7d1b14049396a9cf2596dd6 /common/kernel/arch_pybindings_shared.h | |
parent | 1ebfe67daf2ec3e1e64150f09ab4c194f41d1d9d (diff) | |
parent | 664cec54b92844745e21a4e86dcf8e3cca09d781 (diff) | |
download | nextpnr-ecddac7b18526940db529389b7efdae299b7dd12.tar.gz nextpnr-ecddac7b18526940db529389b7efdae299b7dd12.tar.bz2 nextpnr-ecddac7b18526940db529389b7efdae299b7dd12.zip |
Merge branch 'master' into clock-wip
Diffstat (limited to 'common/kernel/arch_pybindings_shared.h')
-rw-r--r-- | common/kernel/arch_pybindings_shared.h | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/common/kernel/arch_pybindings_shared.h b/common/kernel/arch_pybindings_shared.h index bfb58f11..d78d240c 100644 --- a/common/kernel/arch_pybindings_shared.h +++ b/common/kernel/arch_pybindings_shared.h @@ -150,4 +150,10 @@ fn_wrapper_1a<Context, decltype(&Context::getDelayFromNS), &Context::getDelayFro pass_through<double>>::def_wrap(ctx_cls, "getDelayFromNS"); fn_wrapper_1a<Context, decltype(&Context::getDelayNS), &Context::getDelayNS, pass_through<double>, - pass_through<delay_t>>::def_wrap(ctx_cls, "getDelayNS");
\ No newline at end of file + pass_through<delay_t>>::def_wrap(ctx_cls, "getDelayNS"); + +fn_wrapper_3a_v<Context, decltype(&Context::createRegionPlug), &Context::createRegionPlug, conv_from_str<IdString>, + conv_from_str<IdString>, pass_through<Loc>>::def_wrap(ctx_cls, "createRegionPlug"); +fn_wrapper_4a_v<Context, decltype(&Context::addPlugPin), &Context::addPlugPin, conv_from_str<IdString>, + conv_from_str<IdString>, pass_through<PortType>, conv_from_str<WireId>>::def_wrap(ctx_cls, + "addPlugPin"); |