blob: a7be0599af0376284ad4b6a10ce126e4ac3d34ce (
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
|
---@meta
---@class package
---@field conifg string
---@field cpath string
---@field loaded table
---@field loaders table
---@field path string
---@field preload table
---@field searchers table
package = {}
---@param libname string
---@param funcname string
---@return any
function package.loadlib(libname, funcname) end
---@param name string
---@param path string
---@param sep string?
---@param rep string?
---@return string filename?
---@return string errmsg?
function package.searchpath(name, path, sep, rep) end
---@param module table
function package.seeall(module) end
return package
|