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");
|
||||
if (rawval && Len(rawval)) {
|
||||
if (SwigType_type(type) == T_STRING) {
|
||||
Printv(get, "(char *)", NULL);
|
||||
}
|
||||
|
||||
Printv(get, rawval, NULL);
|
||||
} else {
|
||||
char quote;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue