aboutsummaryrefslogtreecommitdiffstats
path: root/ice40/pybindings.cc
diff options
context:
space:
mode:
Diffstat (limited to 'ice40/pybindings.cc')
-rw-r--r--ice40/pybindings.cc8
1 files changed, 4 insertions, 4 deletions
diff --git a/ice40/pybindings.cc b/ice40/pybindings.cc
index 3760e319..daf0be84 100644
--- a/ice40/pybindings.cc
+++ b/ice40/pybindings.cc
@@ -18,15 +18,15 @@
*
*/
-#include "design.h"
#include "chip.h"
+#include "design.h"
// include after design.h/chip.h
#include "pybindings.h"
-void arch_wrap_python() {
- class_<ChipArgs>("ChipArgs")
- .def_readwrite("type", &ChipArgs::type);
+void arch_wrap_python()
+{
+ class_<ChipArgs>("ChipArgs").def_readwrite("type", &ChipArgs::type);
enum_<decltype(std::declval<ChipArgs>().type)>("iCE40Type")
.value("NONE", ChipArgs::NONE)