diff options
author | Alex Orlenko <zxteam@protonmail.com> | 2021-05-03 21:16:42 +0100 |
---|---|---|
committer | Alex Orlenko <zxteam@protonmail.com> | 2021-05-03 21:33:49 +0100 |
commit | 0f4bcca7ce723274c6950ce3764b76e5f472bc27 (patch) | |
tree | a7bb16ae0bb613f34326e421989ca8a7ef04c700 /src/prelude.rs | |
parent | 585c0a25d81040b3697d957ef851179bc788d48b (diff) | |
download | mlua-0f4bcca7ce723274c6950ce3764b76e5f472bc27.zip |
Add `LuaOptions` to customize Lua/Rust behaviour.
The only option is `catch_rust_panics` to optionally disable catching Rust panics via pcall/xpcall.
Diffstat (limited to 'src/prelude.rs')
-rw-r--r-- | src/prelude.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/prelude.rs b/src/prelude.rs index b043ac6..5ec7f3e 100644 --- a/src/prelude.rs +++ b/src/prelude.rs @@ -4,7 +4,7 @@ pub use crate::{ AnyUserData as LuaAnyUserData, Chunk as LuaChunk, Error as LuaError, ExternalError as LuaExternalError, ExternalResult as LuaExternalResult, FromLua, FromLuaMulti, Function as LuaFunction, GCMode as LuaGCMode, Integer as LuaInteger, - LightUserData as LuaLightUserData, Lua, MetaMethod as LuaMetaMethod, + LightUserData as LuaLightUserData, Lua, LuaOptions, MetaMethod as LuaMetaMethod, MultiValue as LuaMultiValue, Nil as LuaNil, Number as LuaNumber, RegistryKey as LuaRegistryKey, Result as LuaResult, String as LuaString, Table as LuaTable, TableExt as LuaTableExt, TablePairs as LuaTablePairs, TableSequence as LuaTableSequence, Thread as LuaThread, |