summaryrefslogtreecommitdiff
path: root/src/zisp/value.zig
diff options
context:
space:
mode:
authorTaylan Kammer <taylan.kammer@gmail.com>2026-06-04 16:53:55 +0200
committerTaylan Kammer <taylan.kammer@gmail.com>2026-06-04 16:53:55 +0200
commit3281cb8192d5dad2625ae5a106f6a6d1a2a975c7 (patch)
treeb33c0f9b73257eed233322274fe4de68caa18cd2 /src/zisp/value.zig
parentd57909bedc0ccfe240ff1c17ce72cf78adfd8aaf (diff)
Eliminate ShortString.
Diffstat (limited to 'src/zisp/value.zig')
-rw-r--r--src/zisp/value.zig10
1 files changed, 0 insertions, 10 deletions
diff --git a/src/zisp/value.zig b/src/zisp/value.zig
index eb4ee8b..3450bfd 100644
--- a/src/zisp/value.zig
+++ b/src/zisp/value.zig
@@ -169,16 +169,6 @@ const endian = builtin.target.cpu.arch.endian();
const max = std.math.maxInt;
-/// Used when dealing with runes and short strings.
-pub const ShortString = struct {
- len: u8,
- buf: [6]u8,
-
- pub fn slice(this: *const @This()) []const u8 {
- return this.buf[0..this.len];
- }
-};
-
/// Used to find the length of a rune or short string.
pub fn sstrLen(x: u64) u8 {
const bytes: @Vector(8, u8) = @bitCast(x);