[wasm] Fix typedef for non-void interp entry callbacks (#59990)
authorgithub-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Mon, 18 Oct 2021 05:07:24 +0000 (22:07 -0700)
committerGitHub <noreply@github.com>
Mon, 18 Oct 2021 05:07:24 +0000 (22:07 -0700)
commit92ff02435693486da161626246f016b4f1e7b8e8
tree26897fd9a95ed6a8829d467a9355d69f100d8f58
parenta1c550c1228af5b381dc517483ae89ed161df153
[wasm] Fix typedef for non-void interp entry callbacks (#59990)

For UnmanagedCallersOnly methods that return non-void, pass the address of the
return variable to the interp entry method.

Co-authored-by: Aleksey Kliger <alklig@microsoft.com>
src/tasks/WasmAppBuilder/PInvokeTableGenerator.cs