mirror of
https://github.com/mappu/miqt.git
synced 2024-12-22 08:58:37 +00:00
genbindings: rename qt_metacast to Metacast()
This commit is contained in:
parent
2283213456
commit
5321074f99
@ -116,6 +116,10 @@ nextMethod:
|
||||
|
||||
var mm CppMethod
|
||||
mm.MethodName = methodName
|
||||
if strings.HasPrefix(methodName, "qt_") { // Strip redundant Qt prefix, we know these are all Qt functions
|
||||
mm.OverrideMethodName = methodName
|
||||
mm.MethodName = methodName[3:]
|
||||
}
|
||||
|
||||
if typobj, ok := node["type"].(map[string]interface{}); ok {
|
||||
if qualType, ok := typobj["qualType"].(string); ok {
|
||||
|
Loading…
Reference in New Issue
Block a user