diff options
author | David Shah <davey1576@gmail.com> | 2018-06-02 13:33:45 +0200 |
---|---|---|
committer | David Shah <davey1576@gmail.com> | 2018-06-02 13:48:28 +0200 |
commit | 363ddd0f3c6e1e2f9e5caf2851ffcacf32765437 (patch) | |
tree | cdba5841cdcbfe126dfd088b8bf6906d33fd4282 /dummy | |
parent | d3f74eb0567b557f261018131a04ab5eed3ddb7e (diff) | |
download | nextpnr-363ddd0f3c6e1e2f9e5caf2851ffcacf32765437.tar.gz nextpnr-363ddd0f3c6e1e2f9e5caf2851ffcacf32765437.tar.bz2 nextpnr-363ddd0f3c6e1e2f9e5caf2851ffcacf32765437.zip |
Python bindings working on both architectures
Signed-off-by: David Shah <davey1576@gmail.com>
Diffstat (limited to 'dummy')
-rw-r--r-- | dummy/pybindings.cc | 10 |
1 files changed, 2 insertions, 8 deletions
diff --git a/dummy/pybindings.cc b/dummy/pybindings.cc index eaecaa3b..affa768a 100644 --- a/dummy/pybindings.cc +++ b/dummy/pybindings.cc @@ -20,15 +20,9 @@ #include "design.h" #include "chip.h" -#include <utility> -#include <stdexcept> -#include <boost/python.hpp> -#include <boost/python/suite/indexing/vector_indexing_suite.hpp> -#include <boost/python/suite/indexing/map_indexing_suite.hpp> -#include <boost/python/suite/indexing/map_indexing_suite.hpp> - -using namespace boost::python; +#include "pybindings.h" void arch_wrap_python() { class_<ChipArgs>("ChipArgs"); + WRAP_RANGE(Wire); } |