Warning fix in Go wrappers when wrapping string constants
string_constants test case.
This commit is contained in:
parent
e03d0b0525
commit
3ac3d061a6
1 changed files with 1 additions and 0 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue