Skip to main content

add_include_util

Function add_include_util 

Source
pub fn add_include_util(lua: &Lua, current_path: &Path) -> Result<(), Error>
Expand description

Adds the INCLUDE function to the Lua environment for executing other Lua files.

ยงErrors

Returns an error if the INCLUDE function cannot be set in the global environment.