]> Cypherpunks.ru repositories - gostls13.git/commit
runtime: support register ABI Go functions from Windows callbacks
authorMichael Anthony Knyszek <mknyszek@google.com>
Tue, 9 Mar 2021 21:13:34 +0000 (21:13 +0000)
committerMichael Knyszek <mknyszek@google.com>
Wed, 31 Mar 2021 20:09:03 +0000 (20:09 +0000)
commit44dd06670f522e66e7ebfa0bffe14d2b44c93ff8
treea500571cac57e12a39da3b138acf0c2a8f50e1eb
parentcb42e3e979830ccaac72d02512f522a820c6a5e7
runtime: support register ABI Go functions from Windows callbacks

This change modifies the system that allows Go functions to be set as
callbacks in various Windows systems to support the new register ABI.

For #40724.

Change-Id: Ie067f9e8a76c96d56177d7aa88f89cbe7223e12e
Reviewed-on: https://go-review.googlesource.com/c/go/+/300113
Reviewed-by: Austin Clements <austin@google.com>
Reviewed-by: Cherry Zhang <cherryyz@google.com>
Trust: Michael Knyszek <mknyszek@google.com>
Run-TryBot: Michael Knyszek <mknyszek@google.com>
TryBot-Result: Go Bot <gobot@golang.org>
src/runtime/export_test.go
src/runtime/syscall_windows.go
src/runtime/syscall_windows_test.go