diff options
Diffstat (limited to 'meta/3rd/love2d/library/love.event.lua')
-rw-r--r-- | meta/3rd/love2d/library/love.event.lua | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/meta/3rd/love2d/library/love.event.lua b/meta/3rd/love2d/library/love.event.lua index b6523b9e..3e8d7ff4 100644 --- a/meta/3rd/love2d/library/love.event.lua +++ b/meta/3rd/love2d/library/love.event.lua @@ -34,12 +34,12 @@ function love.event.pump() end ---From 0.10.0 onwards, you may pass an arbitrary amount of arguments with this function, though the default callbacks don't ever use more than six. --- ---@param n love.Event # The name of the event. ----@param a any # First event argument. ----@param b any # Second event argument. ----@param c any # Third event argument. ----@param d any # Fourth event argument. ----@param e any # Fifth event argument. ----@param f any # Sixth event argument. +---@param a? any # First event argument. +---@param b? any # Second event argument. +---@param c? any # Third event argument. +---@param d? any # Fourth event argument. +---@param e? any # Fifth event argument. +---@param f? any # Sixth event argument. function love.event.push(n, a, b, c, d, e, f) end --- @@ -48,7 +48,7 @@ function love.event.push(n, a, b, c, d, e, f) end ---The quit event is a signal for the event handler to close LÖVE. It's possible to abort the exit process with the love.quit callback. --- ---@overload fun(restart: string|"'restart'") ----@param exitstatus number # The program exit status to use when closing the application. +---@param exitstatus? number # The program exit status to use when closing the application. function love.event.quit(exitstatus) end --- |