You can find the specific rules in the godoc of the unsafe package
<https://godoc.org/unsafe#Pointer>.

On Sun, Nov 26, 2017 at 8:12 PM, Jan Mercl <0xj...@gmail.com> wrote:

> On Sun, Nov 26, 2017 at 6:20 PM <jake6...@gmail.com> wrote:
>
> > The core question is does a uintptr derived from a pointer to an object
> count as a reference as far as GC is concerned?
>
> Within a single expression yes, otherwise no.
>
> --
>
> -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.
>

-- 
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.

Reply via email to