Creates a new Lua state and set extra registry values for error bookkeeping.
Modulelua-2.3.4Haskell2010
Lua.Ersatz.Auxiliary
Raw bindings to ersatz functions of the auxiliary library.
Contents
Synopsis
- value hsluaL_newstate
- value hsluaL_requiref
- value hsluaL_tolstring
- Packagelua-2.3.4
- Exports3
- LanguageHaskell2010
- LicenceMIT
- SourceAuxiliary.hs
Auxiliary Library
value
hsluaL_requiref If modname is not already present in package.loaded. calls
function openf with string modname as an argument and sets the
call result in package.loaded[modname], as if that function has
been called through
require.
If glb is true, also stores the module into global modname.
Leaves a copy of the module on the stack.
Converts object to string, respecting any metamethods; returns
NULL if an error occurs.