From c3e02527030c11f0177e3bf8d8c5d9a5c9925dc4 Mon Sep 17 00:00:00 2001 From: David Shah Date: Thu, 7 Jun 2018 13:10:53 +0200 Subject: Reformat Python bindings and ice40 main Signed-off-by: David Shah --- ice40/pybindings.cc | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'ice40/pybindings.cc') 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") - .def_readwrite("type", &ChipArgs::type); +void arch_wrap_python() +{ + class_("ChipArgs").def_readwrite("type", &ChipArgs::type); enum_().type)>("iCE40Type") .value("NONE", ChipArgs::NONE) -- cgit v1.2.3