added missing const for char* arguments

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12703 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Gilles Depeyrot
2001-11-26 07:33:30 +00:00
parent 9832ce0bcc
commit bbd08c6a95
3 changed files with 11 additions and 10 deletions

View File

@@ -218,7 +218,8 @@ TexMacroDef *VerbatimMacroDef = NULL;
#define IncrementLineNumber() LineNumbers[CurrentInputIndex] ++
TexRef::TexRef(char *label, char *file, char *section, char *sectionN)
TexRef::TexRef(const char *label, const char *file,
const char *section, const char *sectionN)
{
refLabel = copystring(label);
refFile = file ? copystring(file) : (char*) NULL;
@@ -1551,7 +1552,7 @@ int ParseArg(TexChunk *thisArg, wxList& children, char *buffer, int pos, char *e
*
*/
int ParseMacroBody(char *macro_name, TexChunk *parent,
int ParseMacroBody(const char *macro_name, TexChunk *parent,
int no_args, char *buffer, int pos,
char *environment, bool parseToBrace,
TexChunk *customMacroArgs)