diff options
| author | Lofty <dan.ravensloft@gmail.com> | 2023-02-13 12:49:00 +0000 | 
|---|---|---|
| committer | Lofty <dan.ravensloft@gmail.com> | 2023-02-13 12:49:00 +0000 | 
| commit | 52b02f7377a1fc88a7e1678e57af803f4d1bcc0c (patch) | |
| tree | 4f3b82f0c6e3ee55086de19e93bec9dd80750e0c | |
| parent | b5125aac314ed346ed5a86eb62d89e21727887d1 (diff) | |
| download | nextpnr-52b02f7377a1fc88a7e1678e57af803f4d1bcc0c.tar.gz nextpnr-52b02f7377a1fc88a7e1678e57af803f4d1bcc0c.tar.bz2 nextpnr-52b02f7377a1fc88a7e1678e57af803f4d1bcc0c.zip  | |
machxo2: Fix Python bindings for pip iterators
| -rw-r--r-- | machxo2/arch_pybindings.cc | 4 | 
1 files changed, 2 insertions, 2 deletions
diff --git a/machxo2/arch_pybindings.cc b/machxo2/arch_pybindings.cc index 2ed68697..3fcf721d 100644 --- a/machxo2/arch_pybindings.cc +++ b/machxo2/arch_pybindings.cc @@ -54,8 +54,8 @@ void arch_wrap_python(py::module &m)      readonly_wrapper<BelPin, decltype(&BelPin::bel), &BelPin::bel, conv_to_str<BelId>>::def_wrap(belpin_cls, "bel");      readonly_wrapper<BelPin, decltype(&BelPin::pin), &BelPin::pin, conv_to_str<IdString>>::def_wrap(belpin_cls, "pin"); -    typedef const PipRange UphillPipRange; -    typedef const PipRange DownhillPipRange; +    typedef PipRange UphillPipRange; +    typedef PipRange DownhillPipRange;      typedef const std::vector<BelBucketId> &BelBucketRange;      typedef const std::vector<BelId> &BelRangeForBelBucket;  | 
