blob: efe286af78c4ea0649f79190bbf1d04af27fb30b (
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
|
---@meta
---#DES 'require'
---@param modname string
---@return any
---@return any loaderdata
function require(modname) end
---@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
|