2
1
Fork 0

typegen: fix function and signal parameters being sorted by name

This commit is contained in:
outfoxxed 2024-03-21 02:42:57 -07:00
parent c1c349caaa
commit a036d378c0
Signed by: outfoxxed
GPG key ID: 4C88A185FB89301E
3 changed files with 23 additions and 9 deletions

View file

@ -1,6 +1,6 @@
{{- $first := true -}}
{{- range $param, $type := . -}}
{{- range $param := . -}}
{{- if ne $first true -}}, {{ end -}}
{{- $first = false -}}
{{ $param }}: {{ partial "qmltype.html" $type }}
{{- end -}}
{{ $param.name }}: {{ partial "qmltype.html" $param.type }}
{{- end -}}