Added array length parameter in json
This commit is contained in:
@@ -13,7 +13,11 @@ typedef struct {
|
||||
// empty payload
|
||||
{{- end}}
|
||||
{{- range .Entries }}
|
||||
{{- if (.ArrayLength) }}
|
||||
{{.DataType}} {{.Name}}[{{.ArrayLength}}];
|
||||
{{- else }}
|
||||
{{.DataType}} {{.Name}};
|
||||
{{- end}}
|
||||
{{- end }}
|
||||
}{{ .Name }}Payload;
|
||||
{{ end }}
|
||||
|
||||
Reference in New Issue
Block a user