Skip to content

Commit

Permalink
Adjust formal names in proc used to create callback type, adjust call (
Browse files Browse the repository at this point in the history
…#1819)

Signed-off-by: David Longnecker <dlongnecke-cray@users.noreply.github.com>

Signed-off-by: David Longnecker <dlongnecke-cray@users.noreply.github.com>
Co-authored-by: David Longnecker <dlongnecke-cray@users.noreply.github.com>
  • Loading branch information
dlongnecke-cray and dlongnecke-cray committed Sep 30, 2022
1 parent 0adcd3d commit f5e7940
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions src/CommandMap.chpl
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ module CommandMap {
* construct the FCF type, but there is no way to generate a
* FCF that throws using `func()` today.
*/
proc akMsgSign(a: string, b: string, c: int, d: borrowed SymTab): MsgTuple throws {
proc akMsgSign(cmd: string, payload: string, argSize: int, st: borrowed SymTab): MsgTuple throws {
var rep = new MsgTuple("dummy-msg", MsgType.NORMAL);
return rep;
}
Expand All @@ -18,7 +18,7 @@ module CommandMap {
* Just like akMsgSign, but Messages which have a binary return
* require a different signature
*/
proc akBinMsgSign(a: string, b: string, c: int, d: borrowed SymTab): bytes throws {
proc akBinMsgSign(cmd: string, payload: string, argSize: int, st: borrowed SymTab): bytes throws {
var nb = b"\x00";
return nb;
}
Expand Down
2 changes: 1 addition & 1 deletion src/MsgProcessing.chpl
Original file line number Diff line number Diff line change
Expand Up @@ -161,7 +161,7 @@ module MsgProcessing
:returns: MsgTuple
*/
proc getmemusedMsg(cmd: string, payload: string, size:int, st: borrowed SymTab): MsgTuple throws {
proc getmemusedMsg(cmd: string, payload: string, argSize:int, st: borrowed SymTab): MsgTuple throws {
var repMsg: string; // response message
mpLogger.debug(getModuleName(),getRoutineName(),getLineNumber(),"cmd: %s".format(cmd));
if (memTrack) {
Expand Down

0 comments on commit f5e7940

Please sign in to comment.