ChanServ changed the topic of #zig to: zig programming language | ziglang.org | be excellent to each other | channel logs: https://irclog.whitequark.org/zig/
MajorLag2 has joined #zig
MajorLag has quit [Ping timeout: 245 seconds]
zesterer has quit [Quit: zesterer]
MajorLag2 has quit [Ping timeout: 245 seconds]
MajorLag has joined #zig
<GitHub127>
[zig] bnoordhuis opened pull request #797: fix assert on self-referencing function ptr field (master...fix795) https://git.io/vAP0F
davr0s has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
davr0s has joined #zig
davr0s has quit [Client Quit]
davr0s has joined #zig
davr0s has quit [Client Quit]
davr0s has joined #zig
davr0s has quit [Client Quit]
<MajorLag>
andrewrk, yeah, I'm too lazy to compile myself, which is why I never went and built LLVM myself.
<hoppetosse>
andrewrk: Is there anything we can try whe we get error: type '&struct__XDisplay' does not support field access
<hoppetosse>
?
<hoppetosse>
I remember bumping into this before, something about the namespacing of cImports
<hoppetosse>
Oh, I see, &struct__XDisplay is an opaque type
<hoppetosse>
even though fn ScreenOfDisplay(dpy: &Display, scr: c_int) &Screen { return dpy.screens[scr]; }, Display just chains up to it
<hoppetosse>
I think last time this came up, you mentioned translate-c still needed some work and it couldn't figure out this struct.