Fix go wrapper compilation error
This commit is contained in:
parent
b9de6f1bf2
commit
9b85318d77
1 changed files with 4 additions and 0 deletions
|
|
@ -2802,6 +2802,10 @@ private:
|
||||||
|
|
||||||
String *rawval = Getattr(n, "rawval");
|
String *rawval = Getattr(n, "rawval");
|
||||||
if (rawval && Len(rawval)) {
|
if (rawval && Len(rawval)) {
|
||||||
|
if (SwigType_type(type) == T_STRING) {
|
||||||
|
Printv(get, "(char *)", NULL);
|
||||||
|
}
|
||||||
|
|
||||||
Printv(get, rawval, NULL);
|
Printv(get, rawval, NULL);
|
||||||
} else {
|
} else {
|
||||||
char quote;
|
char quote;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue