Remove debugging println!s

This commit is contained in:
kyren 2018-02-16 21:09:49 -05:00
parent f0186d1799
commit 73de52dcce
2 changed files with 1 additions and 3 deletions

View File

@ -59,8 +59,8 @@ pub const LUA_GCISRUNNING: c_int = 9;
#[link(name = "lua5.3")] #[link(name = "lua5.3")]
extern "C" { extern "C" {
pub fn lua_newstate(alloc: lua_Alloc, ud: *mut c_void) -> *mut lua_State; pub fn lua_newstate(alloc: lua_Alloc, ud: *mut c_void) -> *mut lua_State;
pub fn lua_close(state: *mut lua_State); pub fn lua_close(state: *mut lua_State);
pub fn lua_callk( pub fn lua_callk(
state: *mut lua_State, state: *mut lua_State,
nargs: c_int, nargs: c_int,

View File

@ -293,13 +293,11 @@ where
Ok(Err(err)) => { Ok(Err(err)) => {
ffi::luaL_checkstack(state, 2, ptr::null()); ffi::luaL_checkstack(state, 2, ptr::null());
push_wrapped_error(state, err); push_wrapped_error(state, err);
println!("erroring...");
ffi::lua_error(state) ffi::lua_error(state)
} }
Err(p) => { Err(p) => {
ffi::luaL_checkstack(state, 2, ptr::null()); ffi::luaL_checkstack(state, 2, ptr::null());
push_wrapped_panic(state, p); push_wrapped_panic(state, p);
println!("erroring...");
ffi::lua_error(state) ffi::lua_error(state)
} }
} }