diff options
| author | Isaac Freund <ifreund@ifreund.xyz> | 2020-04-21 16:29:17 +0200 |
|---|---|---|
| committer | Isaac Freund <ifreund@ifreund.xyz> | 2020-04-21 16:29:17 +0200 |
| commit | 94760394b4b57fec09f4fed214dd2bf70993c857 (patch) | |
| tree | c8db1a2fd1bf333dbfb628c295773626744d4952 /src/root.zig | |
| parent | 109a74400741f41d7eafcc5062f403cef32c4b46 (diff) | |
| download | river-94760394b4b57fec09f4fed214dd2bf70993c857.tar.gz river-94760394b4b57fec09f4fed214dd2bf70993c857.tar.xz | |
Bikeshed variable names
Diffstat (limited to 'src/root.zig')
| -rw-r--r-- | src/root.zig | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/root.zig b/src/root.zig index 7246577..9623230 100644 --- a/src/root.zig +++ b/src/root.zig @@ -154,7 +154,7 @@ pub const Root = struct { // TODO: log failure to create timer and commit immediately self.transaction_timer = c.wl_event_loop_add_timer( self.server.wl_event_loop, - handle_timeout, + handleTimeout, self, ); @@ -167,7 +167,7 @@ pub const Root = struct { } } - fn handle_timeout(data: ?*c_void) callconv(.C) c_int { + fn handleTimeout(data: ?*c_void) callconv(.C) c_int { const root = @ptrCast(*Root, @alignCast(@alignOf(*Root), data)); Log.Error.log("Transaction timed out. Some imperfect frames may be shown.", .{}); |
