Skip to content

Commit

Permalink
minor fix
Browse files Browse the repository at this point in the history
  • Loading branch information
ThummeTo committed Aug 22, 2024
1 parent bbf86bf commit 7b52c21
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/FMI2/cfunc_unload.jl
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 7b52c21

Please sign in to comment.