aboutsummaryrefslogtreecommitdiff
path: root/src/root.zig
diff options
context:
space:
mode:
authorAnhgelus Morhtuuzh <william@herges.fr>2026-04-27 20:49:13 +0200
committerAnhgelus Morhtuuzh <william@herges.fr>2026-04-27 20:49:13 +0200
commite154408e8ddeaee83242002f4c7af68b29d3a677 (patch)
treed0caadc01e77aa15edb204b1529fac168775329a /src/root.zig
parent3b0e9424a66058da82d11d432da886ec7b6ce7eb (diff)
feat(): support callout
Diffstat (limited to 'src/root.zig')
-rw-r--r--src/root.zig2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/root.zig b/src/root.zig
index 9da89af..919c3ee 100644
--- a/src/root.zig
+++ b/src/root.zig
@@ -16,6 +16,7 @@ inline fn getErrorCode(err: Error) u8 {
Error.InvalidLink => 7,
Error.InvalidImage => 8,
Error.InvalidCodeBlock => 9,
+ Error.InvalidCallout => 10,
};
}
@@ -31,6 +32,7 @@ export fn typdown_getErrorString(code: u8) [*:0]const u8 {
7 => "invalid link",
8 => "invalid image",
9 => "invalid code block",
+ 10 => "invalid callout",
else => unreachable,
};
}