Skip to content

Commit

Permalink
Added support for arrays
Browse files Browse the repository at this point in the history
  • Loading branch information
Luke100000 authored Dec 3, 2024
1 parent 2d4176f commit 6fbe305
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions tools/love-api.lua
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,9 @@ function buildType(param)
if param.table then
return buildDocTable(param.table)
end
if param.arraytype then
return ('%s[]'):format(getTypeName(param.arraytype))
end
return getTypeName(param.type)
end

Expand Down

0 comments on commit 6fbe305

Please sign in to comment.