Skip to content

Commit 6fbe305

Browse files
authored
Added support for arrays
1 parent 2d4176f commit 6fbe305

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

tools/love-api.lua

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -82,6 +82,9 @@ function buildType(param)
8282
if param.table then
8383
return buildDocTable(param.table)
8484
end
85+
if param.arraytype then
86+
return ('%s[]'):format(getTypeName(param.arraytype))
87+
end
8588
return getTypeName(param.type)
8689
end
8790

0 commit comments

Comments
 (0)