Allows string literals as arguments in C++ clients

See issue #651. Also addresses issue #602.
This commit is contained in:
Lew Rossman
2023-01-29 12:34:58 -05:00
parent 245f8f6562
commit 2f8561632f
10 changed files with 148 additions and 140 deletions

View File

@@ -67,7 +67,7 @@ int clearreport(Project *pr)
return 0;
}
int copyreport(Project* pr, char *filename)
int copyreport(Project* pr, const char *filename)
/*
**------------------------------------------------------
** Input: filename = name of file to copy to
@@ -876,7 +876,7 @@ void writeheader(Project *pr, int type, int contin)
}
}
void writeline(Project *pr, char *s)
void writeline(Project *pr, const char *s)
/*
**--------------------------------------------------------------
** Input: *s = text string