diff options
Diffstat (limited to 'src/ffi')
-rw-r--r-- | src/ffi/lauxlib.rs | 6 | ||||
-rw-r--r-- | src/ffi/lua.rs | 3 | ||||
-rw-r--r-- | src/ffi/lualib.rs | 3 |
3 files changed, 7 insertions, 5 deletions
diff --git a/src/ffi/lauxlib.rs b/src/ffi/lauxlib.rs index 83ac690..c5bf9b2 100644 --- a/src/ffi/lauxlib.rs +++ b/src/ffi/lauxlib.rs @@ -23,11 +23,11 @@ //! Contains definitions from `lauxlib.h`. use libc::{c_int, c_long, c_char, c_void, size_t}; -use ffi::lua; -use ffi::lua::{lua_State, lua_CFunction, lua_Integer, lua_Number}; -use ffi::luaconf::LUAL_BUFFERSIZE; use std::ptr; +use super::lua::{self, lua_State, lua_CFunction, lua_Integer, lua_Number}; +use super::luaconf::LUAL_BUFFERSIZE; + pub use super::glue::LUAL_NUMSIZES; pub use super::glue::LUA_FILEHANDLE; diff --git a/src/ffi/lua.rs b/src/ffi/lua.rs index 141402c..ead4f7a 100644 --- a/src/ffi/lua.rs +++ b/src/ffi/lua.rs @@ -23,9 +23,10 @@ //! Contains definitions from `lua.h`. use libc::{c_void, c_int, c_char, c_uchar, size_t}; -use ffi::luaconf; use std::ptr; +use super::luaconf; + pub use super::glue::{LUA_VERSION_MAJOR, LUA_VERSION_MINOR, LUA_VERSION_NUM, LUA_VERSION_RELEASE}; pub use super::glue::{LUA_VERSION, LUA_RELEASE, LUA_COPYRIGHT, LUA_AUTHORS}; pub use super::glue::{LUA_REGISTRYINDEX}; diff --git a/src/ffi/lualib.rs b/src/ffi/lualib.rs index a0bd5dc..2eca03b 100644 --- a/src/ffi/lualib.rs +++ b/src/ffi/lualib.rs @@ -22,9 +22,10 @@ //! Contains definitions from `lualib.h`. -use ffi::lua::lua_State; use libc::c_int; +use super::lua::lua_State; + pub use super::glue::{ LUA_COLIBNAME, LUA_TABLIBNAME, LUA_IOLIBNAME, LUA_OSLIBNAME, LUA_STRLIBNAME, LUA_UTF8LIBNAME, LUA_BITLIBNAME, LUA_MATHLIBNAME, LUA_DBLIBNAME, LUA_LOADLIBNAME |