diff options
author | Julien Dessaux | 2022-12-04 04:06:47 +0100 |
---|---|---|
committer | Julien Dessaux | 2022-12-04 04:06:47 +0100 |
commit | b373cbffa11f5f1f86f15f0be29b21993b42a5d7 (patch) | |
tree | bab595392417cab23148ba46994d3607ca54cebc /src/pointer.zig | |
parent | Began writing a debugging tui (diff) | |
download | zigfunge98-b373cbffa11f5f1f86f15f0be29b21993b42a5d7.tar.gz zigfunge98-b373cbffa11f5f1f86f15f0be29b21993b42a5d7.tar.bz2 zigfunge98-b373cbffa11f5f1f86f15f0be29b21993b42a5d7.zip |
Improved tui debugger
Diffstat (limited to 'src/pointer.zig')
-rw-r--r-- | src/pointer.zig | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/src/pointer.zig b/src/pointer.zig index ce188f8..653f890 100644 --- a/src/pointer.zig +++ b/src/pointer.zig @@ -352,9 +352,6 @@ pub const Pointer = struct { self.step(); return result; } - pub inline fn getInfo(self: *Pointer) PointerInfo { - return .{ .x = self.x, .y = self.y, .dx = self.dx, .dy = self.dy }; - } pub fn init(allocator: std.mem.Allocator, f: *field.Field, timestamp: ?i64, argv: []const []const u8, env: []const [*:0]const u8) !*Pointer { var p = try allocator.create(Pointer); errdefer allocator.destroy(p); |