Re: [go-nuts] map type conversion

2023-07-26 Thread Nigel van Keulen
Maybe my question could be of interest in this topic. I am not sure, and haven't tested if it works with maps, and I am also not sure if it is supposed to work / will work consistently. https://groups.google.com/g/golang-nuts/c/0RqzD2jNADE/m/3Hf14DllBAAJ?utm_medium=email_source=footer Op

[go-nuts] unsafe.Pointer conversions

2023-07-26 Thread Nigel van Keulen
Since unsafe.Pointer can convert between types that have the same underlying type, can unsafe.Pointer also convert between function types who's arguments & return values have the same underlying type? The code I would like to use this technique on: ``` type JSExtFunc func(this Value, args Args)