File tree 2 files changed +5
-7
lines changed
2 files changed +5
-7
lines changed Original file line number Diff line number Diff line change 43
43
* Inline doxygen descriptions for all member variables.
44
44
45
45
## Functions
46
- * Functions should include a result variable on its own line, that does not have
47
- a specific intent.
46
+ * If a function has a result variable, it should be declared on its own line,
47
+ and the variable should not be declared with a specific intent.
48
48
* Inline doxygen descriptions for all arguments, except the result variable.
49
49
* Doxygen description on the line(s) before the function definition. This must
50
50
specify what the function is returning using the ` @return ` doxygen keyword.
@@ -120,9 +120,7 @@ module example_mod
120
120
121
121
!> @brief Doxygen description
122
122
!! @return Function return value.
123
- function func1(arg1, &
124
- & arg2) &
125
- & result(res)
123
+ function func1(arg1, arg2) result(res)
126
124
integer(kind=INT32),intent(in) :: arg1 !< Inline doxygen description
127
125
integer(kind=INT32),intent(in) :: arg2 !< Inline doxygen description
128
126
integer(kind=INT32) :: res
Original file line number Diff line number Diff line change @@ -35,10 +35,10 @@ uphold this code. Please report unacceptable behavior to
35
35
36
36
1 . Create an issue that describes the change, or feature request
37
37
2 . Fork the project
38
- 3 . Create a feature branch off an up-do-date ` master ` branch
38
+ 3 . Create a feature branch off an up-do-date ` main ` branch
39
39
4 . Update the tests and code
40
40
5 . Push the commits to your fork
41
- 6 . Submit a pull request to the ` master ` branch
41
+ 6 . Submit a pull request to the ` main ` branch
42
42
43
43
## Support
44
44
You can’t perform that action at this time.
0 commit comments