aboutsummaryrefslogtreecommitdiffstats
path: root/common/pycontainers.h
diff options
context:
space:
mode:
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