Simplify nethost API for getting hostfxr path (dotnet/core-setup#5734)
authorElinor Fung <47805090+elinor-fung@users.noreply.github.com>
Tue, 9 Apr 2019 21:06:37 +0000 (14:06 -0700)
committerGitHub <noreply@github.com>
Tue, 9 Apr 2019 21:06:37 +0000 (14:06 -0700)
commit88862d3d54def7a0b03ca03da81ef02ae9e65059
treeee25e61ea9ec2e96e2de3e7f49f3b38bdca4f718
parentfa6726b1d22de8a1b3968453d300917b9bbee192
Simplify nethost API for getting hostfxr path (dotnet/core-setup#5734)

- Remove nethost_ prefix on exported function
- Collapse buffer size / required size into one inout parameter

Commit migrated from https://github.com/dotnet/core-setup/commit/cb2db83f1ad2a4c8ca48a930c77656f29fca9a52
src/installer/corehost/cli/nethost/nethost.cpp
src/installer/corehost/cli/nethost/nethost.h
src/installer/corehost/cli/test/nativehost/nativehost.cpp
src/installer/test/HostActivationTests/NativeHosting/Nethost.cs