mirror of
https://codeberg.org/ziglang/zig.git
synced 2025-12-06 13:54:21 +00:00
std.Io.Threaded: fix signature of dirMakeOpenPathWasi
This commit is contained in:
parent
a3ddca3657
commit
032152409b
1 changed files with 6 additions and 1 deletions
|
|
@ -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…
Add table
Reference in a new issue