aboutsummaryrefslogtreecommitdiffstats
path: root/common/pycontainers.h
Commit message (Collapse)AuthorAgeFilesLines
* python: Also convert regular map keys to stringDavid Shah2020-04-241-1/+3
| | | | Signed-off-by: David Shah <dave@ds0.me>
* python: Wrap map IdString key when accessed by indexDavid Shah2020-04-241-1/+2
| | | | Signed-off-by: David Shah <dave@ds0.me>
* pycontainers: Properly handle KeyErrorsSylvain Munaut2020-03-041-5/+11
| | | | | | | | | | | | | We raise a C++ exception to abort the rest of the execution of the function. At the same time we standardize on using a throw runtime error as the method to avoid warning when not returning values. (some places used this throw and some other used std::terminate) Fixes #403 Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
* pycontainers: Implement __contains__David Shah2019-03-221-0/+14
| | | | Signed-off-by: David Shah <dave@ds0.me>
* python: Add wrapper for vectors to allow Python access to net.usersDavid Shah2018-11-221-1/+58
| | | | Signed-off-by: David Shah <dave@ds0.me>
* typeof to decltypeMiodrag Milanovic2018-07-051-4/+4
|
* common: Remove deprecated global IdStringsDavid Shah2018-07-041-8/+2
| | | | Signed-off-by: David Shah <davey1576@gmail.com>
* python: More design-related bindings, dump_design.py working againDavid Shah2018-07-041-2/+12
| | | | Signed-off-by: David Shah <davey1576@gmail.com>
* python: Update wrapper for non-unique_ptr mapsDavid Shah2018-07-041-25/+43
| | | | Signed-off-by: David Shah <davey1576@gmail.com>
* python: Adding more wrapped bindings for ice40David Shah2018-07-041-1/+1
| | | | Signed-off-by: David Shah <davey1576@gmail.com>
* python: New wrapper system working for unique_ptr mapsDavid Shah2018-07-041-3/+3
| | | | Signed-off-by: David Shah <davey1576@gmail.com>
* python: Developing context wrappers for mapsDavid Shah2018-07-041-23/+41
| | | | Signed-off-by: David Shah <davey1576@gmail.com>
* python: Adding more bindingsDavid Shah2018-07-041-1/+19
| | | | Signed-off-by: David Shah <davey1576@gmail.com>
* python: Add context wrapper support for rangesDavid Shah2018-07-041-13/+26
| | | | Signed-off-by: David Shah <davey1576@gmail.com>
* Fixing Python bindings bugsDavid Shah2018-06-261-1/+1
| | | | Signed-off-by: David Shah <davey1576@gmail.com>
* Fixing Python bindings after adding unique_ptrDavid Shah2018-06-261-1/+102
| | | | Signed-off-by: David Shah <davey1576@gmail.com>
* Update from increased clangformat line lengthDavid Shah2018-06-231-31/+12
| | | | Signed-off-by: David Shah <davey1576@gmail.com>
* Switched from clifford@clifford.at to clifford@symbioticeda.com for ↵Clifford Wolf2018-06-221-1/+1
| | | | | | copyright headers Signed-off-by: Clifford Wolf <clifford@clifford.at>
* Updating copyrightsDavid Shah2018-06-171-1/+1
| | | | Signed-off-by: David Shah <davey1576@gmail.com>
* Add nextpnr namespaceClifford Wolf2018-06-121-0/+5
| | | | Signed-off-by: Clifford Wolf <clifford@clifford.at>
* Improving the Python bindings, particularly the map/pair wrappersDavid Shah2018-06-081-6/+138
| | | | Signed-off-by: David Shah <davey1576@gmail.com>
* Reformat remaining filesDavid Shah2018-06-081-75/+87
| | | | Signed-off-by: David Shah <davey1576@gmail.com>
* Replacing Boost type_traits with stdDavid Shah2018-06-071-1/+1
| | | | Signed-off-by: David Shah <davey1576@gmail.com>
* Developing Python bindings for Design and related typesDavid Shah2018-06-071-0/+129