Available on lua
Externs for lua package handling
staticconfig:String
A string describing some compile-time configurations for packages.
staticcpath:String
The path used by require to search for a C loader.
staticloaded:Table<String, Bool>
A table used by require to control which modules are already loaded.
staticpath:String
The path used by require to search for a Lua loader.
staticpreload:Table<String, Bool>
A table to store loaders for specific modules.
staticsearchers:Table<Int, () ‑> Null<String>>
A table used by require to control how to load modules. Each entry in this table is a searcher function.
staticloadlib(libname:String, funcname:String):Void
Dynamically links the host program with the C library libname.
libname
staticsearchpath(name:String, path:String, ?sep:String, ?rep:String):Null<String>
Searches for the given libname in the given path funcname. A path is a string containing a sequence of templates separated by semicolons.
funcname