mirror of
https://github.com/mappu/miqt.git
synced 2025-01-03 14:18: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
|
var mm CppMethod
|
||||||
mm.MethodName = methodName
|
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 typobj, ok := node["type"].(map[string]interface{}); ok {
|
||||||
if qualType, ok := typobj["qualType"].(string); ok {
|
if qualType, ok := typobj["qualType"].(string); ok {
|
||||||
|
Loading…
Reference in New Issue
Block a user