Skip to content

Commit

Permalink
Test failure bug fixed.
Browse files Browse the repository at this point in the history
  • Loading branch information
nishant-rudderstack committed Jul 4, 2022
1 parent a44f1e5 commit 35cda9d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion bind/gen_func.go
Original file line number Diff line number Diff line change
Expand Up @@ -194,7 +194,7 @@ func (g *pyGen) genFuncSig(sym *symbol, fsym *Func) bool {
gorets[i] = sret.cgoname
pyrets[i] = "'" + sret.cpyname + "'"
if sret.cpyname == "PyObject*" {
ownership = "caller_owns_return=True"
ownership = ", caller_owns_return=True"
}
}

Expand Down
2 changes: 1 addition & 1 deletion cmd_build.go
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,7 @@ func runBuild(mode bind.BuildMode, cfg *BuildCfg) error {
} else {

// build extension with go + c
env, args, err := getBuildArgsAndEnv(cfg)
args, env, err := getBuildArgsAndEnv(cfg)
if err != nil {
fmt.Printf("error building environment: %v\n", err)
return err
Expand Down

0 comments on commit 35cda9d

Please sign in to comment.