aboutsummaryrefslogtreecommitdiffstats
path: root/gui/emb.h
diff options
context:
space:
mode:
authorZipCPU <dgisselq@ieee.org>2018-06-06 07:55:18 -0400
committerZipCPU <dgisselq@ieee.org>2018-06-06 07:55:18 -0400
commitd0ee08aeb12a8fb7237b31083666d9b165f13f69 (patch)
treee09d84b0389462f2c1959ce59438d88a7b5f9ed2 /gui/emb.h
parent2e6d0b752ab2d269f822bfd3ea029b100ecf4233 (diff)
parentd3f19cc27ea4634a64821688e9adec6046f4d7de (diff)
downloadnextpnr-d0ee08aeb12a8fb7237b31083666d9b165f13f69.tar.gz
nextpnr-d0ee08aeb12a8fb7237b31083666d9b165f13f69.tar.bz2
nextpnr-d0ee08aeb12a8fb7237b31083666d9b165f13f69.zip
Merge branch 'master' into gqtech
Diffstat (limited to 'gui/emb.h')
-rw-r--r--gui/emb.h21
1 files changed, 21 insertions, 0 deletions
diff --git a/gui/emb.h b/gui/emb.h
new file mode 100644
index 00000000..f76588f5
--- /dev/null
+++ b/gui/emb.h
@@ -0,0 +1,21 @@
+//
+// 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