mirror of
https://github.com/mappu/miqt.git
synced 2024-12-23 01:18:37 +00:00
genbindings: fix missing this.h in forwarded calls from go
This commit is contained in:
parent
76f4323676
commit
91c2e0fa9b
@ -32,7 +32,9 @@ func emitParametersGo(params []CppParameter) string {
|
|||||||
}
|
}
|
||||||
|
|
||||||
func emitParametersGo2CABIForwarding(m CppMethod) (preamble string, fowarding string) {
|
func emitParametersGo2CABIForwarding(m CppMethod) (preamble string, fowarding string) {
|
||||||
tmp := make([]string, 0, len(m.Parameters))
|
tmp := make([]string, 0, len(m.Parameters)+2)
|
||||||
|
|
||||||
|
tmp = append(tmp, "this.h")
|
||||||
|
|
||||||
for _, p := range m.Parameters {
|
for _, p := range m.Parameters {
|
||||||
if p.ParameterType == "QString" {
|
if p.ParameterType == "QString" {
|
||||||
|
Loading…
Reference in New Issue
Block a user