@@ -9,6 +9,12 @@ return {
]],
arguments = {},
returns = {},
+ variants = {
+ {
+ arguments = {},
+ returns = {}
+ }
+ },
notes = [[
The object may not be destroyed immediately if something else is referring to it (e.g. it is
pushed to a Channel or exists in the payload of a pending event).
@@ -4,20 +4,23 @@ return {
description = 'Get the current major, minor, and patch version of LÖVR.',
returns = {
- {
- name = 'major',
+ major = {
type = 'number',
description = 'The major version.'
},
- name = 'minor',
+ minor = {
description = 'The minor version.'
- name = 'patch',
+ patch = {
description = 'The patch number.'
}
+ returns = { 'major', 'minor', 'patch' }