Skip to content

Commit 4f433d0

Browse files
committed
Updated meta files
1 parent a2f6d18 commit 4f433d0

File tree

7 files changed

+22
-22
lines changed

7 files changed

+22
-22
lines changed

library/love/audio.lua

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ love.audio = {}
1515
---
1616
---[Open in Browser](https://love2d.org/wiki/love.audio.getActiveEffects)
1717
---
18-
---@return table effects # The list of the names of the currently enabled effects.
18+
---@return string[] effects # The list of the names of the currently enabled effects.
1919
function love.audio.getActiveEffects() end
2020

2121
---
@@ -108,7 +108,7 @@ function love.audio.getPosition() end
108108
---
109109
---[Open in Browser](https://love2d.org/wiki/love.audio.getRecordingDevices)
110110
---
111-
---@return table devices # The list of connected recording devices.
111+
---@return love.RecordingDevice[] devices # The list of connected recording devices.
112112
function love.audio.getRecordingDevices() end
113113

114114
---
@@ -178,7 +178,7 @@ function love.audio.newSource(filename, type) end
178178
---
179179
---@overload fun(source: love.Source, ...)
180180
---@overload fun(sources: table)
181-
---@return table Sources # A table containing a list of Sources that were paused by this call.
181+
---@return love.Source[] Sources # A table containing a list of Sources that were paused by this call.
182182
function love.audio.pause() end
183183

184184
---
@@ -416,7 +416,7 @@ function Source:clone() end
416416
---
417417
---[Open in Browser](https://love2d.org/wiki/Source:getActiveEffects)
418418
---
419-
---@return table effects # A list of the source's active effect names.
419+
---@return string[] effects # A list of the source's active effect names.
420420
function Source:getActiveEffects() end
421421

422422
---

library/love/filesystem.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ function love.filesystem.getCRequirePath() end
7676
---
7777
---@overload fun(dir: string, callback: function):table
7878
---@param dir string # The directory.
79-
---@return table files # A sequence with the names of all files and subdirectories as strings.
79+
---@return string[] files # A sequence with the names of all files and subdirectories as strings.
8080
function love.filesystem.getDirectoryItems(dir) end
8181

8282
---

library/love/graphics.lua

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1573,7 +1573,7 @@ function Font:getWidth(text) end
15731573
---@param text string # The text that will be wrapped.
15741574
---@param wraplimit number # The maximum width in pixels of each line that ''text'' is allowed before wrapping.
15751575
---@return number width # The maximum width of the wrapped text.
1576-
---@return table wrappedtext # A sequence containing each line of text that was wrapped.
1576+
---@return string[] wrappedtext # A sequence containing each line of text that was wrapped.
15771577
function Font:getWrap(text, wraplimit) end
15781578

15791579
---
@@ -1788,7 +1788,7 @@ function Mesh:getVertexFormat() end
17881788
---
17891789
---[Open in Browser](https://love2d.org/wiki/Mesh:getVertexMap)
17901790
---
1791-
---@return table map # A table containing the list of vertex indices used when drawing.
1791+
---@return number[] map # A table containing the list of vertex indices used when drawing.
17921792
function Mesh:getVertexMap() end
17931793

17941794
---
@@ -2078,7 +2078,7 @@ function ParticleSystem:getPosition() end
20782078
---
20792079
---[Open in Browser](https://love2d.org/wiki/ParticleSystem:getQuads)
20802080
---
2081-
---@return table quads # A table containing the Quads used.
2081+
---@return love.Quad[] quads # A table containing the Quads used.
20822082
function ParticleSystem:getQuads() end
20832083

20842084
---
@@ -2652,8 +2652,8 @@ function Shader:send(name, number, ...) end
26522652
---[Open in Browser](https://love2d.org/wiki/Shader:sendColor)
26532653
---
26542654
---@param name string # The name of the color extern variable to send to in the shader.
2655-
---@param color table # A table with red, green, blue, and optional alpha color components in the range of 1 to send to the extern as a vector.
2656-
---@vararg table # Additional colors to send in case the extern is an array. All colors need to be of the same size (e.g. only vec3's).
2655+
---@param color number[] # A table with red, green, blue, and optional alpha color components in the range of 1 to send to the extern as a vector.
2656+
---@vararg number[] # Additional colors to send in case the extern is an array. All colors need to be of the same size (e.g. only vec3's).
26572657
function Shader:sendColor(name, color, ...) end
26582658

26592659
---

library/love/joystick.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ function love.joystick.getJoystickCount() end
3636
---
3737
---[Open in Browser](https://love2d.org/wiki/love.joystick.getJoysticks)
3838
---
39-
---@return table joysticks # The list of currently connected Joysticks.
39+
---@return love.Joystick[] joysticks # The list of currently connected Joysticks.
4040
function love.joystick.getJoysticks() end
4141

4242
---

library/love/math.lua

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ function love.math.getRandomState() end
9393
---[Open in Browser](https://love2d.org/wiki/love.math.isConvex)
9494
---
9595
---@overload fun(x1: number, y1: number, x2: number, y2: number, ...):boolean
96-
---@param vertices table # The vertices of the polygon as a table in the form of {x1, y1, x2, y2, x3, y3, ...}.
96+
---@param vertices number[] # The vertices of the polygon as a table in the form of {x1, y1, x2, y2, x3, y3, ...}.
9797
---@return boolean convex # Whether the given polygon is convex.
9898
function love.math.isConvex(vertices) end
9999

@@ -128,7 +128,7 @@ function love.math.linearToGamma(lr, lg, lb) end
128128
---[Open in Browser](https://love2d.org/wiki/love.math.newBezierCurve)
129129
---
130130
---@overload fun(x1: number, y1: number, x2: number, y2: number, ...):love.BezierCurve
131-
---@param vertices table # The vertices of the control polygon as a table in the form of {x1, y1, x2, y2, x3, y3, ...}.
131+
---@param vertices number[] # The vertices of the control polygon as a table in the form of {x1, y1, x2, y2, x3, y3, ...}.
132132
---@return love.BezierCurve curve # A Bézier curve object.
133133
function love.math.newBezierCurve(vertices) end
134134

@@ -330,7 +330,7 @@ function BezierCurve:removeControlPoint(index) end
330330
---[Open in Browser](https://love2d.org/wiki/BezierCurve:render)
331331
---
332332
---@param depth? number # Number of recursive subdivision steps.
333-
---@return table coordinates # List of x,y-coordinate pairs of points on the curve.
333+
---@return number[] coordinates # List of x,y-coordinate pairs of points on the curve.
334334
function BezierCurve:render(depth) end
335335

336336
---
@@ -346,7 +346,7 @@ function BezierCurve:render(depth) end
346346
---@param startpoint number # The starting point along the curve. Must be between 0 and 1.
347347
---@param endpoint number # The end of the segment to render. Must be between 0 and 1.
348348
---@param depth? number # Number of recursive subdivision steps.
349-
---@return table coordinates # List of x,y-coordinate pairs of points on the specified part of the curve.
349+
---@return number[] coordinates # List of x,y-coordinate pairs of points on the specified part of the curve.
350350
function BezierCurve:renderSegment(startpoint, endpoint, depth) end
351351

352352
---

library/love/physics.lua

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -491,7 +491,7 @@ function Body:getAngularVelocity() end
491491
---
492492
---[Open in Browser](https://love2d.org/wiki/Body:getContacts)
493493
---
494-
---@return table contacts # A list with all contacts associated with the Body.
494+
---@return love.Contact[] contacts # A list with all contacts associated with the Body.
495495
function Body:getContacts() end
496496

497497
---
@@ -500,7 +500,7 @@ function Body:getContacts() end
500500
---
501501
---[Open in Browser](https://love2d.org/wiki/Body:getFixtures)
502502
---
503-
---@return table fixtures # A sequence with all fixtures.
503+
---@return love.Fixture[] fixtures # A sequence with all fixtures.
504504
function Body:getFixtures() end
505505

506506
---
@@ -529,7 +529,7 @@ function Body:getInertia() end
529529
---
530530
---[Open in Browser](https://love2d.org/wiki/Body:getJoints)
531531
---
532-
---@return table joints # A sequence with the Joints attached to the Body.
532+
---@return love.Joint[] joints # A sequence with the Joints attached to the Body.
533533
function Body:getJoints() end
534534

535535
---
@@ -2989,7 +2989,7 @@ function World:destroy() end
29892989
---
29902990
---[Open in Browser](https://love2d.org/wiki/World:getBodies)
29912991
---
2992-
---@return table bodies # A sequence with all bodies.
2992+
---@return love.Body[] bodies # A sequence with all bodies.
29932993
function World:getBodies() end
29942994

29952995
---
@@ -3037,7 +3037,7 @@ function World:getContactFilter() end
30373037
---
30383038
---[Open in Browser](https://love2d.org/wiki/World:getContacts)
30393039
---
3040-
---@return table contacts # A sequence with all Contacts.
3040+
---@return love.Contact[] contacts # A sequence with all Contacts.
30413041
function World:getContacts() end
30423042

30433043
---
@@ -3065,7 +3065,7 @@ function World:getJointCount() end
30653065
---
30663066
---[Open in Browser](https://love2d.org/wiki/World:getJoints)
30673067
---
3068-
---@return table joints # A sequence with all joints.
3068+
---@return love.Joint[] joints # A sequence with all joints.
30693069
function World:getJoints() end
30703070

30713071
---

library/love/touch.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,5 +36,5 @@ function love.touch.getPressure(id) end
3636
---
3737
---[Open in Browser](https://love2d.org/wiki/love.touch.getTouches)
3838
---
39-
---@return table touches # A list of active touch-press id values, which can be used with love.touch.getPosition.
39+
---@return lightuserdata[] touches # A list of active touch-press id values, which can be used with love.touch.getPosition.
4040
function love.touch.getTouches() end

0 commit comments

Comments
 (0)