aboutsummaryrefslogtreecommitdiffstats
path: root/common/pycontainers.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/pycontainers.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/pycontainers.h')
-rw-r--r--common/pycontainers.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/common/pycontainers.h b/common/pycontainers.h
index 423e36f5..992d0de9 100644
--- a/common/pycontainers.h
+++ b/common/pycontainers.h
@@ -27,6 +27,9 @@
#include <stdexcept>
#include <type_traits>
#include <utility>
+#include "nextpnr.h"
+
+NEXTPNR_NAMESPACE_BEGIN
using namespace boost::python;
@@ -270,4 +273,6 @@ template <typename T> struct map_wrapper
map_wrapper<t>().wrap(#name, #name "KeyValue", #name "KeyValueIter", \
#name "Iterator")
+NEXTPNR_NAMESPACE_END
+
#endif