blob: 8f25d19f146287b109b757a28496612795cf590a (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
|
---@meta _
---#DES 'arg'
---@type string[]
arg = {}
---#DES 'assert'
---@generic T
---@param v? T
---@param message? any
---@param ... any
---@return T
---@return any ... => args[reti + 1]
---@error => args[1].istruly
---@narrow v => args[1].truly
function assert(v, message, ...) end
--[[@@@
---@overload fun(opt: 'collect') # ---#DESTAIL 'cgopt.collect'
---@overload fun(opt: 'stop') # ---#DESTAIL 'cgopt.stop'
---@overload fun(opt: 'restart') # ---#DESTAIL 'cgopt.restart'
---@overload fun(opt: 'count'): integer # ---#DESTAIL 'cgopt.count'
---@overload fun(opt: 'step'): boolean # ---#DESTAIL 'cgopt.step'
---@overload fun(opt: 'isrunning'): boolean # ---#DESTAIL 'cgopt.isrunning'
---#if VERSION >= 5.4 then
---@overload fun(opt: 'incremental'
, pause?: integer
, stepmul?: integer
, stepsize?: integer) # ---#DESTAIL 'cgopt.incremental'
---@overload fun(opt: 'generational'
, minor?: integer
, major?: integer) # ---#DESTAIL 'cgopt.generational'
---#end
---@overload fun(opt: 'setpause', arg: integer) # ---#DESTAIL 'cgopt.setpause'
---@overload fun(opt: 'setstepmul', arg: integer) # ---#DESTAIL 'cgopt.setstepmul'
---@prototype
]]
function collectgarbage(...) end
|