aboutsummaryrefslogtreecommitdiff
path: root/src/defaultIO.zig
diff options
context:
space:
mode:
Diffstat (limited to 'src/defaultIO.zig')
-rw-r--r--src/defaultIO.zig32
1 files changed, 32 insertions, 0 deletions
diff --git a/src/defaultIO.zig b/src/defaultIO.zig
new file mode 100644
index 0000000..b87c2d6
--- /dev/null
+++ b/src/defaultIO.zig
@@ -0,0 +1,32 @@
+const std = @import("std");
+
+pub const IOErrors = error{
+ IOError,
+ NotImplemented,
+};
+
+pub fn characterInput() IOErrors!i64 {
+ // TODO
+ return error.NotImplemented;
+}
+
+pub fn decimalInput() IOErrors!i64 {
+ // TODO
+ return error.NotImplemented;
+}
+
+pub fn characterOutput(v: i64) IOErrors!void {
+ // TODO
+ _ = v;
+ return error.NotImplemented;
+}
+
+pub fn decimalOutput(v: i64) IOErrors!void {
+ // TODO
+ _ = v;
+ return error.NotImplemented;
+}
+
+test "all" {
+ std.testing.refAllDecls(@This());
+}