On Tue, Oct 11, 2016 at 4:55 PM T L <tapir....@gmail.com> wrote: > So values of type unsafe.Pointer can be converted to values of type *unsafe.Pointer? > But I can't find the official docs mentioning this.
"Any pointer or value of underlying type <https://golang.org/ref/spec#Types> uintptr can be converted to a Pointer type and vice versa."[0] > Is it safe? Do you mean if it's safe to use package unsafe? ;-) [0]: https://golang.org/ref/spec#Package_unsafe -- -j -- You received this message because you are subscribed to the Google Groups "golang-nuts" group. To unsubscribe from this group and stop receiving emails from it, send an email to golang-nuts+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.