From 6b1ce67d5abef2fa4c533756b6b14d46f7b8eb67 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Alex=20R=C3=B8nne=20Petersen?= Date: Wed, 13 Nov 2024 04:25:56 +0100 Subject: [PATCH] Fix hostfxr.h to be valid C again. --- src/native/corehost/hostfxr.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/native/corehost/hostfxr.h b/src/native/corehost/hostfxr.h index 0c316a59b1159..9b034e7109908 100644 --- a/src/native/corehost/hostfxr.h +++ b/src/native/corehost/hostfxr.h @@ -384,7 +384,7 @@ struct hostfxr_resolve_frameworks_result }; typedef void (HOSTFXR_CALLTYPE* hostfxr_resolve_frameworks_result_fn)( - const hostfxr_resolve_frameworks_result* result, + const struct hostfxr_resolve_frameworks_result* result, void* result_context); // @@ -411,7 +411,7 @@ typedef void (HOSTFXR_CALLTYPE* hostfxr_resolve_frameworks_result_fn)( // typedef int32_t(HOSTFXR_CALLTYPE* hostfxr_resolve_frameworks_for_runtime_config_fn)( const char_t* runtime_config_path, - /*opt*/ const hostfxr_initialize_parameters* parameters, + /*opt*/ const struct hostfxr_initialize_parameters* parameters, /*opt*/ hostfxr_resolve_frameworks_result_fn callback, /*opt*/ void* result_context);