blob: db9ec830c0cc19346e05cd507f433b2c0e703b7a (
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
|