aboutsummaryrefslogtreecommitdiffstats
path: root/generic/arch_pybindings.cc
diff options
context:
space:
mode:
authorKeith Rothman <537074+litghost@users.noreply.github.com>2021-02-01 14:28:32 -0800
committerKeith Rothman <537074+litghost@users.noreply.github.com>2021-02-02 07:44:49 -0800
commitda74a425d23352d7cddf9d1c4b0b7c86dd567c40 (patch)
tree3657232a91e97f839cd9114f40aa0c565afc23d4 /generic/arch_pybindings.cc
parent01509ec7c991f0ec674fd933095dfe52be28b46f (diff)
downloadnextpnr-da74a425d23352d7cddf9d1c4b0b7c86dd567c40.tar.gz
nextpnr-da74a425d23352d7cddf9d1c4b0b7c86dd567c40.tar.bz2
nextpnr-da74a425d23352d7cddf9d1c4b0b7c86dd567c40.zip
Run "make clangformat".
Signed-off-by: Keith Rothman <537074+litghost@users.noreply.github.com>
Diffstat (limited to 'generic/arch_pybindings.cc')
-rw-r--r--generic/arch_pybindings.cc28
1 files changed, 12 insertions, 16 deletions
diff --git a/generic/arch_pybindings.cc b/generic/arch_pybindings.cc
index 9e98bfe5..23f2c05c 100644
--- a/generic/arch_pybindings.cc
+++ b/generic/arch_pybindings.cc
@@ -227,30 +227,26 @@ void arch_wrap_python(py::module &m)
"clock"_a, "clktoq"_a);
// const\_range\<BelBucketId\> getBelBuckets() const
- fn_wrapper_0a<Context, decltype(&Context::getBelBuckets),
- &Context::getBelBuckets,
- wrap_context<const std::vector<BelBucketId> &>>::def_wrap(ctx_cls, "getBelBuckets");
+ fn_wrapper_0a<Context, decltype(&Context::getBelBuckets), &Context::getBelBuckets,
+ wrap_context<const std::vector<BelBucketId> &>>::def_wrap(ctx_cls, "getBelBuckets");
// BelBucketId getBelBucketForBel(BelId bel) const
- fn_wrapper_1a<Context, decltype(&Context::getBelBucketForBel),
- &Context::getBelBucketForBel, conv_to_str<BelBucketId>,
- conv_from_str<BelId>>::def_wrap(ctx_cls, "getBelBucketForBel");
+ fn_wrapper_1a<Context, decltype(&Context::getBelBucketForBel), &Context::getBelBucketForBel,
+ conv_to_str<BelBucketId>, conv_from_str<BelId>>::def_wrap(ctx_cls, "getBelBucketForBel");
// BelBucketId getBelBucketForCellType(IdString cell\_type) const
- fn_wrapper_1a<Context, decltype(&Context::getBelBucketForCellType),
- &Context::getBelBucketForCellType, conv_to_str<BelBucketId>,
- conv_from_str<IdString>>::def_wrap(ctx_cls, "getBelBucketForCellType");
+ fn_wrapper_1a<Context, decltype(&Context::getBelBucketForCellType), &Context::getBelBucketForCellType,
+ conv_to_str<BelBucketId>, conv_from_str<IdString>>::def_wrap(ctx_cls, "getBelBucketForCellType");
// const\_range\<BelId\> getBelsInBucket(BelBucketId bucket) const
- fn_wrapper_1a<Context, decltype(&Context::getBelsInBucket),
- &Context::getBelsInBucket, wrap_context<const std::vector<BelId> &>,
- conv_from_str<BelBucketId>>::def_wrap(ctx_cls, "getBelsInBucket");
+ fn_wrapper_1a<Context, decltype(&Context::getBelsInBucket), &Context::getBelsInBucket,
+ wrap_context<const std::vector<BelId> &>, conv_from_str<BelBucketId>>::def_wrap(ctx_cls,
+ "getBelsInBucket");
// bool isValidBelForCellType(IdString cell\_type, BelId bel) const
- fn_wrapper_2a<Context, decltype(&Context::isValidBelForCellType),
- &Context::isValidBelForCellType, pass_through<bool>,
- conv_from_str<IdString>, conv_from_str<BelId>>::def_wrap(
- ctx_cls, "isValidBelForCellType");
+ fn_wrapper_2a<Context, decltype(&Context::isValidBelForCellType), &Context::isValidBelForCellType,
+ pass_through<bool>, conv_from_str<IdString>, conv_from_str<BelId>>::def_wrap(ctx_cls,
+ "isValidBelForCellType");
WRAP_MAP_UPTR(m, CellMap, "IdCellMap");
WRAP_MAP_UPTR(m, NetMap, "IdNetMap");