Skip to content

Conversation

kcooley-cvd
Copy link
Contributor

  1. Adds explicit intent for all arguments
  2. The module uses and the routines import only what they need from iso_c_binding.

Closes #40

Copy link
Member

@MakisH MakisH left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you for contributing! This definitely makes sense and is very good to have.

Since typically the issue here is the extent of changes required, I cross-checked the in/out and the imported types in all subroutines, and they look correct (besides one unused instance - please confirm).

I also checked that solverdummy runs on my system.

Instead of using the entire iso_c_binding module in each routine,
import only the necessary types from the module scope. Prevents
warnings emitted by some compilers and analysis tools about use-ing
entire modules.
@kcooley-cvd kcooley-cvd force-pushed the intents-for-all-arguments branch from 4f659c2 to 4ca6114 Compare June 11, 2025 14:37
@MakisH MakisH merged commit 11f98bd into precice:develop Jun 11, 2025
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Specify intent for all arguments

2 participants