genbindings: fix wrong parameter order for CABI output files

This commit is contained in:
mappu 2024-08-08 18:55:47 +12:00
parent dd004dd06b
commit d5e6a21ae4
1 changed files with 1 additions and 1 deletions

View File

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