summaryrefslogtreecommitdiff
path: root/src/zisp/value.zig
diff options
context:
space:
mode:
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);