git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12260
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
-TexMacroDef::TexMacroDef(int the_id, char *the_name, int n, bool ig, bool forbidLevel)
+TexMacroDef::TexMacroDef(int the_id, const char *the_name, int n, bool ig, bool forbidLevel)
{
name = copystring(the_name);
no_args = n;
{
name = copystring(the_name);
no_args = n;
-void AddMacroDef(int the_id, char *name, int n, bool ignore, bool forbid)
+void AddMacroDef(int the_id, const char *name, int n, bool ignore, bool forbid)
{
MacroDefs.Put(name, new TexMacroDef(the_id, name, n, ignore, forbid));
}
{
MacroDefs.Put(name, new TexMacroDef(the_id, name, n, ignore, forbid));
}
int forbidden;
int macroId;
int forbidden;
int macroId;
- TexMacroDef(int the_id, char *the_name, int n, bool ig, bool forbidLevel = FORBID_OK);
+ TexMacroDef(int the_id, const char *the_name, int n, bool ig, bool forbidLevel = FORBID_OK);
void SetCurrentOutputs(FILE *fd1, FILE *fd2);
extern FILE *CurrentOutput1;
extern FILE *CurrentOutput2;
void SetCurrentOutputs(FILE *fd1, FILE *fd2);
extern FILE *CurrentOutput1;
extern FILE *CurrentOutput2;
-void AddMacroDef(int the_id, char *name, int n, bool ignore = FALSE, bool forbidden = FALSE);
+void AddMacroDef(int the_id, const char *name, int n, bool ignore = FALSE, bool forbidden = FALSE);
void TexInitialize(int bufSize);
void TexCleanUp(void);
void TexOutput(char *s, bool ordinaryText = FALSE);
void TexInitialize(int bufSize);
void TexCleanUp(void);
void TexOutput(char *s, bool ordinaryText = FALSE);
bool DefaultOnArgument(int macroId, int arg_no, bool start);
// Called on error
bool DefaultOnArgument(int macroId, int arg_no, bool start);
// Called on error
-void OnError(char *msg);
+void OnError(const char *msg);
// Called for information
// Called for information
-void OnInform(char *msg);
+void OnInform(const char *msg);
// Special yield wrapper
void Tex2RTFYield(bool force = FALSE);
// Special yield wrapper
void Tex2RTFYield(bool force = FALSE);
-#include <wx/help.h>
-#include <wx/timer.h>
+#include "wx/help.h"
+#include "wx/timer.h"
#endif
#if defined(NO_GUI) || defined(__UNIX__)
#endif
#if defined(NO_GUI) || defined(__UNIX__)
+void OnError(const char *msg)
-void OnInform(char *msg)
+void OnInform(const char *msg)
{
#ifdef NO_GUI
cout << msg << "\n";
{
#ifdef NO_GUI
cout << msg << "\n";