[go-nuts] syscall.NewCallback, floats and Windows

2021-03-25 Thread Marco Ronchese
Hello, I am calling certain Windows API from Go code (without CGO), everything works flawlessly, but now I bumped into this issue. I want to register a callback that accepts (also) a float as argument ( https://docs.microsoft.com/en-us/windows/win32/api/audiopolicy/nf-audiopolicy-iaudiosessione

Re: [go-nuts] syscall.NewCallback, floats and Windows

2021-03-25 Thread Marco Ronchese
will drop a comment and see what happens from there. On Thursday, 25 March 2021 at 20:46:06 UTC+1 Ian Lance Taylor wrote: > On Thu, Mar 25, 2021 at 11:38 AM Marco Ronchese > wrote: > > > > I am calling certain Windows API from Go code (without CGO), everything > works

Re: [go-nuts] syscall.NewCallback, floats and Windows

2021-04-05 Thread Marco Ronchese
ctions without > morestack spill info (e.g., asm functions) because we can't generate a > correct morestack path " > Unless of course you don't want to use asm functions > On Thursday, March 25, 2021 at 8:03:42 PM UTC-7 Marco Ronchese wrote: > >> Thanks for the explan