Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix return value in LOAD_SYMBOL() macro #517

Merged
merged 1 commit into from
Jun 14, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/FMI2.c
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ do { \
instance->fmi2Functions->fmi2 ## f = (fmi2 ## f ## TYPE*)GetProcAddress(instance->libraryHandle, "fmi2" #f); \
if (!instance->fmi2Functions->fmi2 ## f) { \
instance->logMessage(instance, FMIFatal, "fatal", "Symbol fmi2" #f " is missing in shared library."); \
return fmi2Fatal; \
return FMIFatal; \
}\
} while (0)
#else
Expand Down
2 changes: 1 addition & 1 deletion src/FMI3.c
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ do { \
instance->fmi3Functions->fmi3 ## f = (fmi3 ## f ## TYPE*)GetProcAddress(instance->libraryHandle, "fmi3" #f); \
if (!instance->fmi3Functions->fmi3 ## f) { \
instance->logMessage(instance, FMIFatal, "fatal", "Symbol fmi3" #f " is missing in shared library."); \
return fmi3Fatal; \
return FMIFatal; \
} \
} while (0)
#else
Expand Down
Loading