Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

> Previously, all pointers to incomplete struct types translated to the Go type *[0]byte

This makes me really happy. I end up writing a lot of bindings to C libraries (libjpeg, libpng, etc), some of which use incomplete types to hide the contents of their internal structs. With this fix I'll finally be able to work within the constraints of the typesystem and stop hacking around it with casts to/from unsafe.Pointer.



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: