ChanServ changed the topic of #zig to: zig programming language | ziglang.org | be excellent to each other | channel logs: https://irclog.whitequark.org/zig/
steveno_ has quit [Remote host closed the connection]
cenomla has joined #zig
cenomla has quit [Quit: cenomla]
MajorLag2 is now known as MajorLag
<MajorLag>
If anyone is interested, I've added a simple ini parser to zig.tgschultz.com
curtisf has joined #zig
curtisf has quit [Quit: Page closed]
cenomla has joined #zig
cenomla has quit [Quit: cenomla]
tiehuis has quit [Quit: WeeChat 2.1]
tiehuis has joined #zig
Ichorio has quit [Ping timeout: 260 seconds]
hoppetosse has joined #zig
tiehuis has quit [Quit: WeeChat 2.1]
Ichorio has joined #zig
thejoshwolfe has joined #zig
<thejoshwolfe>
how do i open a file? i used to do std.io.File.openRead, but now i'm getting an error that std.io.File is private.
<thejoshwolfe>
seems like an oversight, since getStdOut() is pub and returns a File.
<thejoshwolfe>
oh, it's just std.os.File.
SimonNa has joined #zig
hoppetosse has quit [Ping timeout: 248 seconds]
man213 has joined #zig
<hobomatic>
Yeah I think io is for the higher level interfaces to IO, and it's just importing File as a toplevel (private) constant from std.os
<hobomatic>
it does seem weird that getStdOut() / getStdIn() / getStdErr() are defined there instead of os
<andrewrk>
hobomatic, you're right, they should be moved
hoppetosse has joined #zig
<man213>
Hello, guys! Zig noob here. Could somebody explain me how c_void pointer can be casted to u32 array?