aboutsummaryrefslogtreecommitdiff
path: root/src/stack_report.hpp
diff options
context:
space:
mode:
authorAndrew Kelley <andrew@ziglang.org>2019-09-10 00:25:37 -0400
committerAndrew Kelley <andrew@ziglang.org>2019-09-10 10:26:52 -0400
commit0489d06c249d16457d66523b5c407fc7ddeca45a (patch)
tree799b4abcf50830158975f8d408c7ce52ed401a59 /src/stack_report.hpp
parenta29ce78651c05029dbd72064752a099885edfd0c (diff)
downloadzig-0489d06c249d16457d66523b5c407fc7ddeca45a.tar.gz
zig-0489d06c249d16457d66523b5c407fc7ddeca45a.zip
make the std lib support event-based I/O
also add -fstack-report
Diffstat (limited to 'src/stack_report.hpp')
-rw-r--r--src/stack_report.hpp16
1 files changed, 16 insertions, 0 deletions
diff --git a/src/stack_report.hpp b/src/stack_report.hpp
new file mode 100644
index 0000000000..8a644466f9
--- /dev/null
+++ b/src/stack_report.hpp
@@ -0,0 +1,16 @@
+/*
+ * Copyright (c) 2019 Andrew Kelley
+ *
+ * This file is part of zig, which is MIT licensed.
+ * See http://opensource.org/licenses/MIT
+ */
+
+#ifndef ZIG_STACK_REPORT_HPP
+#define ZIG_STACK_REPORT_HPP
+
+#include "all_types.hpp"
+#include <stdio.h>
+
+void zig_print_stack_report(CodeGen *g, FILE *f);
+
+#endif