Remove unused exports from glue.{c,rs} && Fix some clippy warnings

This commit is contained in:
Alex Orlenko
2021-01-15 01:15:36 +00:00
parent 1c79f646de
commit e62fd400d7
4 changed files with 26 additions and 58 deletions
+1 -3
View File
@@ -32,11 +32,9 @@ use std::ptr;
use super::luaconf;
pub use super::glue::{LUA_RELEASE, LUA_VERSION, LUA_VERSION_NUM};
pub use super::glue::LUA_REGISTRYINDEX;
#[cfg(any(feature = "lua51", feature = "luajit"))]
pub use super::glue::{LUA_ENVIRONINDEX, LUA_GLOBALSINDEX};
pub use super::glue::{LUA_REGISTRYINDEX, LUA_VERSION_NUM};
#[cfg(not(feature = "luajit"))]
pub const LUA_SIGNATURE: &[u8] = b"\x1bLua";