From 73de52dcce3e222367312ec79743e0b50a134a6c Mon Sep 17 00:00:00 2001 From: kyren Date: Fri, 16 Feb 2018 21:09:49 -0500 Subject: [PATCH] Remove debugging println!s --- src/ffi.rs | 2 +- src/util.rs | 2 -- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/src/ffi.rs b/src/ffi.rs index dfb2878..4d1c48e 100644 --- a/src/ffi.rs +++ b/src/ffi.rs @@ -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, diff --git a/src/util.rs b/src/util.rs index 13537a4..af6a50d 100644 --- a/src/util.rs +++ b/src/util.rs @@ -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) } }