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/lib.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/lib.rs')
-rw-r--r-- | src/lib.rs | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -103,7 +103,7 @@ pub use crate::ffi::lua_State; pub use crate::error::{Error, ExternalError, ExternalResult, Result}; pub use crate::function::Function; pub use crate::hook::{Debug, DebugNames, DebugSource, DebugStack, HookTriggers}; -pub use crate::lua::{Chunk, ChunkMode, GCMode, Lua}; +pub use crate::lua::{Chunk, ChunkMode, GCMode, Lua, LuaOptions}; pub use crate::multi::Variadic; pub use crate::scope::Scope; pub use crate::stdlib::StdLib; |