aboutsummaryrefslogtreecommitdiffstats
path: root/dummy
diff options
context:
space:
mode:
authorDavid Shah <davey1576@gmail.com>2018-06-02 13:33:45 +0200
committerDavid Shah <davey1576@gmail.com>2018-06-02 13:48:28 +0200
commit363ddd0f3c6e1e2f9e5caf2851ffcacf32765437 (patch)
treecdba5841cdcbfe126dfd088b8bf6906d33fd4282 /dummy
parentd3f74eb0567b557f261018131a04ab5eed3ddb7e (diff)
downloadnextpnr-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.cc10
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);
}