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 joined #zig
steveno_ has quit [Quit: Leaving]
darithorn has joined #zig
isd has quit [Ping timeout: 240 seconds]
redj_ is now known as redj
isd has joined #zig
darithorn has quit [Remote host closed the connection]
qazo has quit [Read error: Connection reset by peer]
davr0s has joined #zig
Ichorio has joined #zig
isd has quit [Quit: Leaving.]
davr0s has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
hinst has quit [Ping timeout: 256 seconds]
redj_ has joined #zig
redj has quit [Ping timeout: 268 seconds]
hinst has joined #zig
hinst has quit [Ping timeout: 264 seconds]
davr0s has joined #zig
hinst has joined #zig
Ichorio has quit [Ping timeout: 256 seconds]
MajorLag has quit [Ping timeout: 256 seconds]
MajorLag1 has joined #zig
MajorLag has joined #zig
MajorLag1 has quit [Ping timeout: 260 seconds]
alexnask has joined #zig
visitor has joined #zig
visitor has quit [Quit: Page closed]
davr0s has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
davr0s has joined #zig
redj_ is now known as redj
davr0s has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
Dodo has joined #zig
<Dodo>
mh, when doing ptr += 1; I cant do such a thing
<Dodo>
I have a ptr somewhere in a slice, a ptr to the end of the slice, the basic idea is to increment the ptr on each call of .next(), unless its equal to the endptr
<Dodo>
invalid cast from type '&u32' to 'usize' when trying to do 'usize(self.ptr) += 1;'
<Dodo>
ptrtoint?
davr0s has joined #zig
<Dodo>
alexnask?
<Dodo>
how do I increment a ptr?
Dodo has quit [Quit: Page closed]
steveno_ has joined #zig
alexnask has quit [Quit: Leaving]
davr0s has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
steveno_ has quit [Ping timeout: 276 seconds]
steveno_ has joined #zig
davr0s has joined #zig
davr0s has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
Hejsil has joined #zig
<Hejsil>
Dodo, I think you need @ptrToInt/@intToPtr
<Hejsil>
You could also do b = &b[1];
davr0s has joined #zig
davr0s has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
davr0s has joined #zig
<andrewrk>
See also the pointer reform issue
Ichorio has joined #zig
Hejsil has quit [Ping timeout: 260 seconds]
davr0s has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
Ichorio_ has joined #zig
Ichorio has quit [Ping timeout: 246 seconds]
davr0s has joined #zig
steveno_ has quit [Quit: Leaving]
steveno_ has joined #zig
steveno_ has quit [Quit: Leaving]
SimonNa has quit [Ping timeout: 264 seconds]
<MajorLag>
apparently future versions of notepad will support LF eol
SimonNa has joined #zig
Heimdall has joined #zig
jjido has joined #zig
jjido has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<andrewrk>
I just saw that
jjido has joined #zig
jjido has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
jjido has joined #zig
jjido has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Ichorio_ has quit [Ping timeout: 246 seconds]
Ichorio has joined #zig
Ichorio has quit [Ping timeout: 256 seconds]
qazo has joined #zig
jjido has joined #zig
davr0s has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]