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 --- dummy/main.cc | 6 +++--- dummy/pybindings.cc | 6 ++---- 2 files changed, 5 insertions(+), 7 deletions(-) (limited to 'dummy') diff --git a/dummy/main.cc b/dummy/main.cc index 5c36a961..cc6addb5 100644 --- a/dummy/main.cc +++ b/dummy/main.cc @@ -17,15 +17,15 @@ * */ +#include #include "design.h" #include "mainwindow.h" -#include int main(int argc, char *argv[]) { - Design design(ChipArgs{}); + Design design(ChipArgs{}); - QApplication a(argc, argv); + QApplication a(argc, argv); MainWindow w; w.show(); diff --git a/dummy/pybindings.cc b/dummy/pybindings.cc index 3a586234..12e0ca13 100644 --- a/dummy/pybindings.cc +++ b/dummy/pybindings.cc @@ -18,12 +18,10 @@ * */ -#include "design.h" #include "chip.h" +#include "design.h" // include after design.h/chip.h #include "pybindings.h" -void arch_wrap_python() { - class_("ChipArgs"); -} +void arch_wrap_python() { class_("ChipArgs"); } -- cgit v1.2.3