T_STRING is now const char * instead of char *

Fixes Guile constant wrappers removing -Wwrite-strings g++ warning.
This commit is contained in:
William S Fulton 2013-10-17 18:36:59 +01:00
commit 9c7d014389
2 changed files with 2 additions and 1 deletions

View file

@ -1350,7 +1350,7 @@ public:
Printv(f_header, tm, "\n", NIL);
} else {
// Create variable and assign it a value
Printf(f_header, "static %s = %s;\n", SwigType_lstr(nctype, var_name), rvalue);
Printf(f_header, "static %s = %s;\n", SwigType_str(type, var_name), rvalue);
}
{
/* Hack alert: will cleanup later -- Dave */