[Go] Fix use of goout typemap in non-cgo mode.
This commit is contained in:
parent
0f54384ee3
commit
ef4d7628a9
1 changed files with 5 additions and 0 deletions
|
|
@ -1624,8 +1624,13 @@ private:
|
|||
receiver = NULL;
|
||||
}
|
||||
|
||||
Swig_save("cgoGoWrapper", n, "type", "tmap:goout", NULL);
|
||||
Setattr(n, "type", result);
|
||||
|
||||
String *goout = goTypemapLookup("goout", n, "swig_r");
|
||||
|
||||
Swig_restore(n);
|
||||
|
||||
bool add_to_interface = (interfaces && !is_constructor && !is_destructor && !is_static && !overname && checkFunctionVisibility(n, NULL));
|
||||
|
||||
bool needs_wrapper = (gccgo_flag || receiver || is_constructor || is_destructor || parm_count > required_count);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue