aboutsummaryrefslogtreecommitdiffstats
path: root/common/pybindings.h
diff options
context:
space:
mode:
authorDavid Shah <davey1576@gmail.com>2018-06-12 14:43:56 +0200
committerDavid Shah <davey1576@gmail.com>2018-06-12 14:43:56 +0200
commit592a627e0c99ddf2cf06c286813a2d08962d8cd9 (patch)
tree5da4e6d6c4bfdb3d5a600b365ed9cb856c307de9 /common/pybindings.h
parent5a9ff4aea15fca7bcf8c86eaa1f92eb51f551e5b (diff)
parentc8b815361e2435bf12786705638908aa891df44f (diff)
downloadnextpnr-592a627e0c99ddf2cf06c286813a2d08962d8cd9.tar.gz
nextpnr-592a627e0c99ddf2cf06c286813a2d08962d8cd9.tar.bz2
nextpnr-592a627e0c99ddf2cf06c286813a2d08962d8cd9.zip
Merge branch 'master' of gitlab.com:SymbioticEDA/nextpnr
Diffstat (limited to 'common/pybindings.h')
-rw-r--r--common/pybindings.h9
1 files changed, 7 insertions, 2 deletions
diff --git a/common/pybindings.h b/common/pybindings.h
index bb060718..de6aa4c7 100644
--- a/common/pybindings.h
+++ b/common/pybindings.h
@@ -29,6 +29,11 @@
#include <boost/python/suite/indexing/vector_indexing_suite.hpp>
#include <stdexcept>
#include <utility>
+
+#include "nextpnr.h"
+
+NEXTPNR_NAMESPACE_BEGIN
+
using namespace boost::python;
/*
@@ -110,8 +115,8 @@ void deinit_python();
void execute_python_file(const char *python_file);
-std::string parse_python_exception();
-
void arch_appendinittab();
+NEXTPNR_NAMESPACE_END
+
#endif /* end of include guard: COMMON_PYBINDINGS_HH */