Remove debugging println!s
This commit is contained in:
parent
f0186d1799
commit
73de52dcce
|
@ -59,8 +59,8 @@ pub const LUA_GCISRUNNING: c_int = 9;
|
|||
#[link(name = "lua5.3")]
|
||||
extern "C" {
|
||||
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_callk(
|
||||
state: *mut lua_State,
|
||||
nargs: c_int,
|
||||
|
|
|
@ -293,13 +293,11 @@ where
|
|||
Ok(Err(err)) => {
|
||||
ffi::luaL_checkstack(state, 2, ptr::null());
|
||||
push_wrapped_error(state, err);
|
||||
println!("erroring...");
|
||||
ffi::lua_error(state)
|
||||
}
|
||||
Err(p) => {
|
||||
ffi::luaL_checkstack(state, 2, ptr::null());
|
||||
push_wrapped_panic(state, p);
|
||||
println!("erroring...");
|
||||
ffi::lua_error(state)
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue