mirror of https://github.com/swig/swig
Warning fix in Go wrappers when wrapping string constants
string_constants test case.
This commit is contained in:
parent
e03d0b0525
commit
3ac3d061a6
|
@ -2792,6 +2792,7 @@ private:
|
|||
} else if (SwigType_type(type) == T_CHAR) {
|
||||
quote = '\'';
|
||||
} else if (SwigType_type(type) == T_STRING) {
|
||||
Printv(get, "(char *)", NULL);
|
||||
quote = '"';
|
||||
} else {
|
||||
quote = '\0';
|
||||
|
|
Loading…
Reference in New Issue