-
Notifications
You must be signed in to change notification settings - Fork 126
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refactor(mf6bmiutil): remove string_to_char_array function
This function is evidently no longer necessary. The Fortran wiki claims it is (https://fortranwiki.org/fortran/show/Generating+C+Interfaces#strings), but the relevant section was added 14 years ago (https://fortranwiki.org/fortran/revision/diff/Generating+C+Interfaces/9), and more recently the consensus on the fortran-lang forum is that passing 'trim(str) // c_null_char' suffices (https://fortran-lang.discourse.group/t/best-practices-for-passing-c-strings)
- Loading branch information
Showing
4 changed files
with
9 additions
and
26 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters