mirror of
https://github.com/mappu/miqt.git
synced 2024-12-23 01:18:37 +00:00
genbindings: fix wrong parameter order for CABI output files
This commit is contained in:
parent
dd004dd06b
commit
d5e6a21ae4
@ -17,7 +17,7 @@ func emitParametersCpp(params []CppParameter, selfType string) string {
|
|||||||
tmp := make([]string, 0, len(params)+1)
|
tmp := make([]string, 0, len(params)+1)
|
||||||
|
|
||||||
if selfType != "" {
|
if selfType != "" {
|
||||||
tmp = append(tmp, "self "+selfType)
|
tmp = append(tmp, selfType+" self")
|
||||||
}
|
}
|
||||||
|
|
||||||
for _, p := range params {
|
for _, p := range params {
|
||||||
|
Loading…
Reference in New Issue
Block a user