diff --git a/bind/genobjc.go b/bind/genobjc.go index 2926807..b70428a 100644 --- a/bind/genobjc.go +++ b/bind/genobjc.go @@ -74,7 +74,7 @@ func (g *objcGen) genH() error { for _, obj := range g.names { named := obj.Type().(*types.Named) switch named.Underlying().(type) { - case *types.Struct, *types.Interface: + case *types.Struct: g.Printf("@class %s%s;\n", g.namePrefix, obj.Name()) } g.Printf("\n")