mirror of
https://github.com/ziglang/zig.git
synced 2026-01-07 05:55:36 +00:00
std.Io.Threaded: fix signature of dirMakeOpenPathWasi
This commit is contained in:
parent
a3ddca3657
commit
032152409b
@ -1159,7 +1159,12 @@ fn dirMakeOpenPathWindows(
|
||||
}
|
||||
}
|
||||
|
||||
fn dirMakeOpenPathWasi(userdata: ?*anyopaque, dir: Io.Dir, sub_path: []const u8, mode: Io.Dir.Mode) Io.Dir.MakeOpenPathError!Io.Dir {
|
||||
fn dirMakeOpenPathWasi(
|
||||
userdata: ?*anyopaque,
|
||||
dir: Io.Dir,
|
||||
sub_path: []const u8,
|
||||
mode: Io.Dir.OpenOptions,
|
||||
) Io.Dir.MakeOpenPathError!Io.Dir {
|
||||
const t: *Threaded = @ptrCast(@alignCast(userdata));
|
||||
_ = t;
|
||||
_ = dir;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user