ChanServ changed the topic of #zig to: zig programming language | ziglang.org | be excellent to each other | channel logs: https://irclog.whitequark.org/zig/
return0e_ has quit [Ping timeout: 246 seconds]
return0e_ has joined #zig
return0e_ has quit [Ping timeout: 245 seconds]
return0e_ has joined #zig
darithorn has quit [Quit: Leaving]
steveno__ has joined #zig
darithorn has joined #zig
steveno__ has quit [Ping timeout: 268 seconds]
<andrewrk>
daurnimator: hard to say, but things are moving swiftly along now. I fixed a few issues found by the std lib tests today and ran into a tricky one
<daurnimator>
k
<daurnimator>
right now I'm getting confused by how to get --output-h to export a struct
return0e_ has quit [Read error: Connection reset by peer]
darithorn has quit [Remote host closed the connection]
wilsonk has quit [Read error: No route to host]
darithorn has joined #zig
wilsonk has joined #zig
<daurnimator>
Different question: is there a nicer way to write https://ptpb.pw/YzGC ?
darithorn has quit [Quit: Leaving]
_whitelogger has joined #zig
marmotini_ has joined #zig
kristate has quit [Remote host closed the connection]
kristate has joined #zig
marmotini_ has quit [Ping timeout: 246 seconds]
marmotini_ has joined #zig
steveno__ has joined #zig
steveno__ has quit [Ping timeout: 268 seconds]
steveno__ has joined #zig
<MajorLag>
daurnimator: You haven't exported the struct, it might also need to be declared extern. I'm guessing here, havning never done anything with output-h.
<MajorLag>
the only "cleaner" thing I can think to do with your other question is to make it one line, but that will make it worse if there's more than one err to check: `if(x) |_| break else |err| if(err != error.OutOfMemory) break;`