Skip to content

Commit

Permalink
fix: properly export noopCallback
Browse files Browse the repository at this point in the history
  • Loading branch information
robbielyman committed Sep 22, 2024
1 parent 2127b0f commit ffec853
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/lib.zig
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,8 @@ pub const Backend = enum {

pub const backend = Backend.default();

pub const Sys = backend.Api().Sys;
const T = backend.Api();
pub const Sys = T.Sys;

const loop = @import("loop.zig");

Expand Down Expand Up @@ -102,7 +103,7 @@ pub const Callback = *const fn (
result: Result,
) CallbackAction;

pub const noopCallback = Sys.noopCallback;
pub const noopCallback = T.noopCallback;

test {
// Tested on all platforms
Expand Down

0 comments on commit ffec853

Please sign in to comment.