Skip to content

Commit

Permalink
Code Style: Unify comma in function signatures
Browse files Browse the repository at this point in the history
  • Loading branch information
Garados007 committed Jul 28, 2023
1 parent ef7e97e commit 136dc28
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions procedures/igortest-assertions.ipf
Original file line number Diff line number Diff line change
Expand Up @@ -375,7 +375,7 @@ Function REQUIRE_CLOSE_VAR(var1, var2, [tol, strong])
End

/// @copydoc CLOSE_CMPLX_DOCU
Function WARN_CLOSE_CMPLX(var1, var2 [tol, strong])
Function WARN_CLOSE_CMPLX(var1, var2, [tol, strong])
variable/C var1, var2
variable tol, strong

Expand All @@ -391,7 +391,7 @@ Function WARN_CLOSE_CMPLX(var1, var2 [tol, strong])
End

/// @copydoc CLOSE_CMPLX_DOCU
Function CHECK_CLOSE_CMPLX(var1, var2 [tol, strong])
Function CHECK_CLOSE_CMPLX(var1, var2, [tol, strong])
variable/C var1, var2
variable tol, strong

Expand All @@ -407,7 +407,7 @@ Function CHECK_CLOSE_CMPLX(var1, var2 [tol, strong])
End

/// @copydoc CLOSE_CMPLX_DOCU
Function REQUIRE_CLOSE_CMPLX(var1, var2 [tol, strong])
Function REQUIRE_CLOSE_CMPLX(var1, var2, [tol, strong])
variable/C var1, var2
variable tol, strong

Expand Down
2 changes: 1 addition & 1 deletion procedures/igortest-tracing-tracer.ipf
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
/// @param l [optional, default = 1] The number of consecutive original code lines associated with the statement in the original code.
/// A statement in the original code can span multiple lines if line continuation is used.
/// @return returns the value of c
threadsafe Function Z_(variable procNum, variable lineNum[, variable c, variable l])
threadsafe Function Z_(variable procNum, variable lineNum, [variable c, variable l])

variable i, logLines, condition, err
variable result, numProcs
Expand Down
4 changes: 2 additions & 2 deletions procedures/igortest-tracing.ipf
Original file line number Diff line number Diff line change
Expand Up @@ -756,7 +756,7 @@ static Function/T AddNoZ(string &origLines, variable &lineCnt)
End

/// @brief Adds the Z_ function before or after a code line
static Function/T AddZ(Wave marker, string &origLines, variable currLineNum, variable &lineCnt, variable procNum[, variable addAfter])
static Function/T AddZ(Wave marker, string &origLines, variable currLineNum, variable &lineCnt, variable procNum, [variable addAfter])

string funcCall, newCode

Expand Down Expand Up @@ -885,7 +885,7 @@ End

/// @brief Determine first line ending found in given string
/// If a default defEndL is given then it is returned if line ending could not be determined from line
static Function/S GetLineEnding(string line[, string defEndL])
static Function/S GetLineEnding(string line, [string defEndL])

string endL = ""
variable len, i, c, e
Expand Down

0 comments on commit 136dc28

Please sign in to comment.