genbindings: rename qt_metacast to Metacast()

This commit is contained in:
mappu 2024-08-10 11:45:48 +12:00
parent 2283213456
commit 5321074f99
1 changed files with 4 additions and 0 deletions

View File

@ -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 {