mirror of https://github.com/mappu/miqt.git
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)
|
||||
|
||||
if selfType != "" {
|
||||
tmp = append(tmp, "self "+selfType)
|
||||
tmp = append(tmp, selfType+" self")
|
||||
}
|
||||
|
||||
for _, p := range params {
|
||||
|
|
Loading…
Reference in New Issue