mirror of
https://github.com/mappu/miqt.git
synced 2025-01-03 06:08:38 +00:00
genbindings: more exceptions
This commit is contained in:
parent
4c318669cc
commit
475ebc93b4
@ -271,6 +271,11 @@ nextMethod:
|
||||
continue nextMethod
|
||||
}
|
||||
|
||||
if ret.ClassName == "QXmlStreamWriter" && len(mm.Parameters) == 1 && mm.Parameters[0].ParameterType == "QString" && mm.Parameters[0].Pointer {
|
||||
log.Printf("Skipping ctor taking QString pointer") // qxmlstream.h 4th constructor overload
|
||||
continue nextMethod
|
||||
}
|
||||
|
||||
ret.Ctors = append(ret.Ctors, mm)
|
||||
|
||||
case "CXXDestructorDecl":
|
||||
@ -359,6 +364,11 @@ nextMethod:
|
||||
continue nextMethod
|
||||
}
|
||||
|
||||
if ret.ClassName == "QTextStream" && mm.MethodName == "readLineInto" && len(mm.Parameters) > 0 && mm.Parameters[0].ParameterType == "QString" && mm.Parameters[0].Pointer {
|
||||
log.Printf("Skipping method %q using complex return type by pointer argument", mm.MethodName) // TODO support this
|
||||
continue nextMethod
|
||||
}
|
||||
|
||||
ret.Methods = append(ret.Methods, mm)
|
||||
|
||||
default:
|
||||
|
Loading…
Reference in New Issue
Block a user