use const char * instead of char * so we don't need a cast for string constants

This commit is contained in:
Axel Kohlmeyer
2020-07-17 00:34:23 -04:00
parent abc9cfe30f
commit 0af7fbe98e
6 changed files with 17 additions and 16 deletions

View File

@ -29,7 +29,7 @@ class Variable : protected Pointers {
int set_string(char *, char *);
int next(int, char **);
int find(char *);
int find(const char *);
void set_arrays(int);
void python_command(int, char **);
@ -39,7 +39,7 @@ class Variable : protected Pointers {
char *pythonstyle(char *, char *);
int internalstyle(int);
char *retrieve(char *);
char *retrieve(const char *);
double compute_equal(int);
double compute_equal(char *);
void compute_atom(int, int, double *, int, int);