diff options
| author | Nathan Reiner <nathan@nathanreiner.xyz> | 2025-08-29 18:21:48 +0200 |
|---|---|---|
| committer | Nathan Reiner <nathan@nathanreiner.xyz> | 2025-08-29 18:21:48 +0200 |
| commit | 4feb8c7dab2b0a3492b8248ee12c3f0a475106f1 (patch) | |
| tree | f89a6389e24ab362cbdb21e1dbd4f96b404472fd /src/object.zig | |
| parent | ed0ec55697b11fa54ff661bc6c250398a096f85a (diff) | |
Use wayland.Context instead of *const wayland.Context
Diffstat (limited to 'src/object.zig')
| -rw-r--r-- | src/object.zig | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/object.zig b/src/object.zig index 5b7726e..7820674 100644 --- a/src/object.zig +++ b/src/object.zig @@ -18,7 +18,7 @@ pub const Ref = struct { const VTable = struct { on_event: *const fn ( ptr: *anyopaque, - ctx: *const wayland.Context, + ctx: wayland.Context, opcode: u16, args: []const u8, ) void, @@ -30,7 +30,7 @@ name: []const u8, pub inline fn on_event( self: *Self, - ctx: *const wayland.Context, + ctx: wayland.Context, opcode: u16, args: []const u8, ) !void { |