Skip to main content

ll_require

Function ll_require 

Source
pub fn ll_require(state: &mut LuaState) -> Result<usize, LuaError>
Expand description

require(modname) — load a module by name, using package.loaded as a cache and package.searchers to find and load it if not already cached.

Returns the module value (and optionally the loader data) — 2 values.