aboutsummaryrefslogtreecommitdiffstats
path: root/common/emb.h
diff options
context:
space:
mode:
authorMiodrag Milanovic <mmicko@gmail.com>2018-06-21 13:41:16 +0200
committerMiodrag Milanovic <mmicko@gmail.com>2018-06-21 13:41:33 +0200
commit9c03909ebaec8157824a9cb13eeea774d29b35e1 (patch)
tree5d15b1bef7a8bdec74a5f9328fbe305bb59faef9 /common/emb.h
parent56ed679f831f703ad2f170713e0b127a97da40b3 (diff)
downloadnextpnr-9c03909ebaec8157824a9cb13eeea774d29b35e1.tar.gz
nextpnr-9c03909ebaec8157824a9cb13eeea774d29b35e1.tar.bz2
nextpnr-9c03909ebaec8157824a9cb13eeea774d29b35e1.zip
Make arch specific main window
Diffstat (limited to 'common/emb.h')
-rw-r--r--common/emb.h20
1 files changed, 20 insertions, 0 deletions
diff --git a/common/emb.h b/common/emb.h
new file mode 100644
index 00000000..3daa7ca3
--- /dev/null
+++ b/common/emb.h
@@ -0,0 +1,20 @@
+//
+// Copyright (C) 2011 Mateusz Loskot <mateusz@loskot.net>
+// Distributed under the Boost Software License, Version 1.0.
+// (See accompanying file LICENSE_1_0.txt or copy at
+// http://www.boost.org/LICENSE_1_0.txt)
+//
+// Blog article: http://mateusz.loskot.net/?p=2819
+
+#include <functional>
+#include <iostream>
+#include <string>
+
+namespace emb {
+typedef std::function<void(std::string)> stdout_write_type;
+
+void set_stdout(stdout_write_type write);
+void reset_stdout();
+
+void append_inittab();
+} // namespace emb