Remove go:nocheckptr pragma in Go bindings
Open
- Dominant language
- C++
- Stars
- 16.7k
- Forks
- 1.6k
- Avg merge
- 1d 20h
- Merged PRs (30d)
- 126
Description
According to @mdempsky, we should be able to remove the pragma by following this advice:
> Nevermind, I see. It's because the struct is packed, so the value field ends up unaligned for a Go pointer.
> I assume these are always pointers into C memory? If so, I think you can change the code to use *uintptr instead of **C.uint8_t, and then you should be able to remove the nocheckptr pragma.
This is related to the changes from #3033
Contributor guide
Assessment
This issue has not been assessed yet.