summaryrefslogtreecommitdiff
path: root/meta/template/package.lua
blob: a133a4f62c690db353dd9c02cd69e88286b01861 (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
---@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