aboutsummaryrefslogtreecommitdiff
path: root/src/object.zig
diff options
context:
space:
mode:
authorNathan Reiner <nathan@nathanreiner.xyz>2025-08-29 18:21:48 +0200
committerNathan Reiner <nathan@nathanreiner.xyz>2025-08-29 18:21:48 +0200
commit4feb8c7dab2b0a3492b8248ee12c3f0a475106f1 (patch)
treef89a6389e24ab362cbdb21e1dbd4f96b404472fd /src/object.zig
parented0ec55697b11fa54ff661bc6c250398a096f85a (diff)
Use wayland.Context instead of *const wayland.Context
Diffstat (limited to 'src/object.zig')
-rw-r--r--src/object.zig4
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 {