diff options
Diffstat (limited to 'common/handle_error.cc')
| -rw-r--r-- | common/handle_error.cc | 5 | 
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  | 
