aboutsummaryrefslogtreecommitdiffstats
path: root/common/handle_error.cc
diff options
context:
space:
mode:
authorClifford Wolf <clifford@clifford.at>2018-06-12 14:24:59 +0200
committerClifford Wolf <clifford@clifford.at>2018-06-12 14:24:59 +0200
commit391d49c13ec675e263115d18481d4b842622b712 (patch)
treeadf6116cbb6688d31fc565cc2f14bb874f535486 /common/handle_error.cc
parent5f813410aabdae3de84e11861248dcd0699b41c2 (diff)
downloadnextpnr-391d49c13ec675e263115d18481d4b842622b712.tar.gz
nextpnr-391d49c13ec675e263115d18481d4b842622b712.tar.bz2
nextpnr-391d49c13ec675e263115d18481d4b842622b712.zip
Add nextpnr namespace
Signed-off-by: Clifford Wolf <clifford@clifford.at>
Diffstat (limited to 'common/handle_error.cc')
-rw-r--r--common/handle_error.cc5
1 files changed, 5 insertions, 0 deletions
diff --git a/common/handle_error.cc b/common/handle_error.cc
index 55ec75fb..7076c188 100644
--- a/common/handle_error.cc
+++ b/common/handle_error.cc
@@ -1,8 +1,11 @@
#include <Python.h>
#include <boost/python.hpp>
+#include "nextpnr.h"
namespace py = boost::python;
+NEXTPNR_NAMESPACE_BEGIN
+
// Parses the value of the active python exception
// NOTE SHOULD NOT BE CALLED IF NO EXCEPTION
std::string parse_python_exception()
@@ -56,3 +59,5 @@ std::string parse_python_exception()
}
return ret;
}
+
+NEXTPNR_NAMESPACE_END