From 7b52c215c239625c161b563cc2407e7539378a25 Mon Sep 17 00:00:00 2001 From: TT Date: Thu, 22 Aug 2024 16:50:20 +0200 Subject: [PATCH] minor fix --- src/FMI2/cfunc_unload.jl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/FMI2/cfunc_unload.jl b/src/FMI2/cfunc_unload.jl index e82fff9..9f74ba1 100644 --- a/src/FMI2/cfunc_unload.jl +++ b/src/FMI2/cfunc_unload.jl @@ -24,13 +24,13 @@ function unload_fmi2Instantiate( _functions::Ptr{fmi2CallbackFunctions}, visible::fmi2Boolean, loggingOn::fmi2Boolean, -)::fmi2Status +)::fmi2Component @assert false "The function `fmi2Instantiate` is not callable anymore, because the FMU is unloaded!" return C_NULL end -function unload_fmi2FreeInstance(_component::fmi2Component)::fmi2Status +function unload_fmi2FreeInstance(_component::fmi2Component)::Nothing @assert false "The function `fmi2FreeInstance` is not callable anymore, because the FMU is unloaded!" return nothing end