diff options
Diffstat (limited to 'src/lib.rs')
-rw-r--r-- | src/lib.rs | 7 |
1 files changed, 4 insertions, 3 deletions
@@ -85,7 +85,6 @@ mod conversion; mod error; mod ffi; mod function; -#[cfg(not(feature = "luau"))] mod hook; mod lua; mod multi; @@ -105,8 +104,7 @@ pub use crate::{ffi::lua_CFunction, ffi::lua_State}; pub use crate::error::{Error, ExternalError, ExternalResult, Result}; pub use crate::function::Function; -#[cfg(not(feature = "luau"))] -pub use crate::hook::{Debug, DebugEvent, DebugNames, DebugSource, DebugStack, HookTriggers}; +pub use crate::hook::{Debug, DebugEvent, DebugNames, DebugSource, DebugStack}; pub use crate::lua::{AsChunk, Chunk, ChunkMode, GCMode, Lua, LuaOptions}; pub use crate::multi::Variadic; pub use crate::scope::Scope; @@ -120,6 +118,9 @@ pub use crate::userdata::{ }; pub use crate::value::{FromLua, FromLuaMulti, MultiValue, Nil, ToLua, ToLuaMulti, Value}; +#[cfg(not(feature = "luau"))] +pub use crate::hook::HookTriggers; + #[cfg(feature = "async")] pub use crate::thread::AsyncThread; |