aboutsummaryrefslogtreecommitdiffstats
path: root/generic
diff options
context:
space:
mode:
authorDavid Shah <davey1576@gmail.com>2018-07-04 15:26:09 +0200
committerDavid Shah <davey1576@gmail.com>2018-07-04 15:26:09 +0200
commit726f2020f140a1f5e89e966e7cbde1d1f79473ba (patch)
treecd4dd51251c46bf5c17064e7e029e81740406587 /generic
parent11fb625195168c0b6c4d49cfb2a9ed9a70108ccf (diff)
downloadnextpnr-726f2020f140a1f5e89e966e7cbde1d1f79473ba.tar.gz
nextpnr-726f2020f140a1f5e89e966e7cbde1d1f79473ba.tar.bz2
nextpnr-726f2020f140a1f5e89e966e7cbde1d1f79473ba.zip
python: Convert empty BelId to None
Signed-off-by: David Shah <davey1576@gmail.com>
Diffstat (limited to 'generic')
-rw-r--r--generic/arch_pybindings.cc2
-rw-r--r--generic/arch_pybindings.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/generic/arch_pybindings.cc b/generic/arch_pybindings.cc
index a2997456..a99723f2 100644
--- a/generic/arch_pybindings.cc
+++ b/generic/arch_pybindings.cc
@@ -20,8 +20,8 @@
#ifndef NO_PYTHON
-#include "pybindings.h"
#include "nextpnr.h"
+#include "pybindings.h"
NEXTPNR_NAMESPACE_BEGIN
diff --git a/generic/arch_pybindings.h b/generic/arch_pybindings.h
index 12b666a2..f7f07529 100644
--- a/generic/arch_pybindings.h
+++ b/generic/arch_pybindings.h
@@ -21,8 +21,8 @@
#define ARCH_PYBINDINGS_H
#ifndef NO_PYTHON
-#include "pybindings.h"
#include "nextpnr.h"
+#include "pybindings.h"
NEXTPNR_NAMESPACE_BEGIN