Skip to content

DecRef is using the wrong name for everything except structs #221

@rcoreilly

Description

@rcoreilly

s.Package().Name() is the correct module prefix for this, not g.outname -- I will fix in upcoming PR.

bind/gen_map.go:129:24: 		g.pywrap.Printf("_%s.DecRef(self.handle)\n", g.outname)
bind/gen_slice.go:119:24: 		g.pywrap.Printf("_%s.DecRef(self.handle)\n", g.outname)
bind/gen_struct.go:94:23: 	g.pywrap.Printf("_%s.DecRef(self.handle)\n", s.Package().
bind/gen_type.go:168:23: 	g.pywrap.Printf("_%s.DecRef(self.handle)\n", g.outname)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions