mirror of
https://github.com/mappu/miqt.git
synced 2025-01-03 06:08:38 +00:00
genbindings/exceptions: move QGADGET to exceptions file
This commit is contained in:
parent
ba4c212805
commit
ed18c216f3
@ -433,11 +433,6 @@ nextMethod:
|
|||||||
var mm CppMethod
|
var mm CppMethod
|
||||||
mm.MethodName = methodName
|
mm.MethodName = methodName
|
||||||
|
|
||||||
if strings.Contains(methodName, `QGADGET`) {
|
|
||||||
log.Printf("Skipping method %q with weird QGADGET behaviour\n", mm.MethodName)
|
|
||||||
continue
|
|
||||||
}
|
|
||||||
|
|
||||||
err := parseMethod(node, &mm)
|
err := parseMethod(node, &mm)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
if errors.Is(err, ErrTooComplex) {
|
if errors.Is(err, ErrTooComplex) {
|
||||||
|
@ -197,6 +197,10 @@ func AllowMethod(className string, mm CppMethod) error {
|
|||||||
return ErrTooComplex // Skip private type
|
return ErrTooComplex // Skip private type
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if strings.Contains(mm.MethodName, `QGADGET`) {
|
||||||
|
return ErrTooComplex // Skipping method with weird QGADGET behaviour
|
||||||
|
}
|
||||||
|
|
||||||
if mm.IsReceiverMethod() {
|
if mm.IsReceiverMethod() {
|
||||||
// Non-projectable receiver pattern parameters
|
// Non-projectable receiver pattern parameters
|
||||||
return ErrTooComplex
|
return ErrTooComplex
|
||||||
|
Loading…
Reference in New Issue
Block a user