mirror of
https://github.com/mappu/miqt.git
synced 2024-12-22 17:08:38 +00:00
genbindings: standardize on log to stderr, not fmt to stdout
This commit is contained in:
parent
28b6684004
commit
feb7b1d5f4
@ -32,7 +32,7 @@ func parseHeader(topLevel []interface{}) (*CppParsedHeader, error) {
|
||||
return nil, errors.New("node has no name")
|
||||
}
|
||||
|
||||
fmt.Printf("-> %q name=%q\n", kind, nodename)
|
||||
log.Printf("-> %q name=%q\n", kind, nodename)
|
||||
|
||||
// Skip over forward class declarations
|
||||
// This is determined in two ways:
|
||||
@ -273,7 +273,7 @@ nextMethod:
|
||||
ret.Methods = append(ret.Methods, mm)
|
||||
|
||||
default:
|
||||
fmt.Printf("==> NOT IMPLEMENTED %q\n", kind)
|
||||
log.Printf("==> NOT IMPLEMENTED %q\n", kind)
|
||||
}
|
||||
}
|
||||
|
||||
@ -346,7 +346,7 @@ func parseMethod(node map[string]interface{}, mm *CppMethod) error {
|
||||
|
||||
default:
|
||||
// Something else inside a declaration??
|
||||
fmt.Printf("==> NOT IMPLEMENTED CXXMethodDecl->%q\n", methodObj["kind"])
|
||||
log.Printf("==> NOT IMPLEMENTED CXXMethodDecl->%q\n", methodObj["kind"])
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user