Skip to content

Commit 0d9358c

Browse files
committed
generate: place mpsgraph and mps earlier in the list to be found first
1 parent 30e3972 commit 0d9358c

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

generate/function.go

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,6 @@ func (db *Generator) ToFunction(fw string, sym Symbol) *codegen.Function {
9999

100100
// populate params:
101101
for _, p := range fntyp.Parameters {
102-
fmt.Printf("PARAM: %v: %v %T\n", sym.Name, p.Name, p.Type)
103102
if p.Type == nil {
104103
fmt.Printf("skipping %s: %s because of nil type\n", sym.Name, p.Name)
105104
return nil
@@ -118,7 +117,6 @@ func (db *Generator) ToFunction(fw string, sym Symbol) *codegen.Function {
118117
}
119118

120119
// detect if we have a CFRange, CFTypeRef, or CFStringInlineBuffer as an argument type
121-
fmt.Println("P ocname:", sym.Name, p.Type.ObjcName(), unhandledStructType(p.Type.ObjcName()))
122120
if unhandledStructType(p.Type.ObjcName()) {
123121
fmt.Printf("skipping %s: %s because of unhandled struct type %s\n", sym.Name, p.Name, p.Type.ObjcName())
124122
return nil

0 commit comments

Comments
 (0)