mirror of
https://github.com/mappu/miqt.git
synced 2024-12-22 08:58:37 +00:00
genbindings/static: fix not applying static for overloads
This commit is contained in:
parent
b3ef457f7e
commit
6928a87b4b
@ -33,6 +33,8 @@ func astTransformOptional(parsed *CppParsedHeader) {
|
||||
OverrideMethodName: m.MethodName,
|
||||
ReturnType: m.ReturnType,
|
||||
Parameters: nil,
|
||||
IsSignal: m.IsSignal,
|
||||
IsStatic: m.IsStatic,
|
||||
}
|
||||
dupMethod.Parameters = append(dupMethod.Parameters, m.Parameters[0:x+1]...)
|
||||
c.Methods = append(c.Methods, dupMethod) // TODO can we insert them next, instead of at the end?
|
||||
|
Loading…
Reference in New Issue
Block a user