Switch RhConfig from TCHAR to char (#86393)
authorElinor Fung <elfung@microsoft.com>
Thu, 18 May 2023 22:35:07 +0000 (00:35 +0200)
committerGitHub <noreply@github.com>
Thu, 18 May 2023 22:35:07 +0000 (00:35 +0200)
commitb25f2bbfd07e1a55b0e1bea7793c3ab422358428
treea4a346bb194b3322620438378f108499af2c321e
parent23ddef371dbc283bb5b667e77a8f8b2591af1b67
Switch RhConfig from TCHAR to char (#86393)

- Hide away the details of reading the environment variable as `wchar` vs `char`
- Keep embedded variables as as ASCII (they are embedded as such already)
- Stop using `TCHAR` for the `RhConfig` APIs, which seemed to just be more confusing to consume
src/coreclr/nativeaot/Runtime/PalRedhawk.h
src/coreclr/nativeaot/Runtime/RhConfig.cpp
src/coreclr/nativeaot/Runtime/RhConfig.h
src/coreclr/nativeaot/Runtime/gcrhenv.cpp
src/coreclr/nativeaot/Runtime/unix/PalRedhawkUnix.cpp
src/coreclr/nativeaot/Runtime/windows/PalRedhawkMinWin.cpp