We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d520eb6 commit 7e6f349Copy full SHA for 7e6f349
bind/gen_map.go
@@ -303,7 +303,7 @@ otherwise parameter is a python list that we copy from
303
g.gofile.Outdent()
304
g.gofile.Printf("}\n")
305
if esym.go2py != "" {
306
- g.gofile.Printf("return %s(v)%s\n", esym.go2py, esym.go2pyParenEx)
+ g.gofile.Printf("return %s(&v)%s\n", esym.go2py, esym.go2pyParenEx)
307
} else {
308
g.gofile.Printf("return v\n")
309
}
0 commit comments