Correct return types on boot

This commit is contained in:
Soreepeong 2022-03-31 23:29:37 +09:00
parent 0cf9b80172
commit 6da762dc3c
3 changed files with 5 additions and 5 deletions

View file

@ -37,12 +37,12 @@ int CoreCLR::load_hostfxr(const struct get_hostfxr_parameters* parameters)
&& m_hostfxr_close_fptr ? 0 : -1;
}
bool CoreCLR::load_runtime(const std::wstring& runtime_config_path)
int CoreCLR::load_runtime(const std::wstring& runtime_config_path)
{
return CoreCLR::load_runtime(runtime_config_path, nullptr);
}
bool CoreCLR::load_runtime(const std::wstring& runtime_config_path, const struct hostfxr_initialize_parameters* parameters)
int CoreCLR::load_runtime(const std::wstring& runtime_config_path, const struct hostfxr_initialize_parameters* parameters)
{
int result;