Allows string literals as arguments in C++ clients
See issue #651. Also addresses issue #602.
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user