On Saturday, December 15, 2018 at 1:29:14 AM UTC-6, robert engels wrote:
>
> Are there any examples of a hand-written assembly function that accepts an 
> interface and then makes calls on the interface methods? 
>
> In reviewing the documentation, it seems impossible, as the PCDATA, and 
> FUNCDATA are not documented, and thus, I think the GC scanner ends up 
> barfing when these are omitted. 
>
> Although, since the interface is passed as a parameter, I would expect 
> that the caller would retain the reference, so adding NO_LOCAL_POINTERS 
> should suffice, but it is failing. 
>
> Any help would be appreciated. Thanks.


I would try writing what I wanted to do using the `reflect` package, and 
then looking at the disassembly of it. 

-- 
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 [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to