summaryrefslogtreecommitdiff
path: root/src/util.rs
diff options
context:
space:
mode:
authorAlex Orlenko <zxteam@protonmail.com>2021-04-10 23:48:47 +0100
committerAlex Orlenko <zxteam@protonmail.com>2021-04-27 00:29:38 +0100
commitc10169a38018038e0859aa7be1946e7606cea566 (patch)
tree4f13da21a1fd205c97a44164626b4bd3b7e4c1d5 /src/util.rs
parentced808d5ab5777abf283a72f71c51ef8040b02f0 (diff)
downloadmlua-c10169a38018038e0859aa7be1946e7606cea566.zip
cargo fmt and other minor fixes
Diffstat (limited to 'src/util.rs')
-rw-r--r--src/util.rs8
1 files changed, 0 insertions, 8 deletions
diff --git a/src/util.rs b/src/util.rs
index cf351dc..e2c85ab 100644
--- a/src/util.rs
+++ b/src/util.rs
@@ -385,14 +385,6 @@ pub unsafe fn get_wrapped_error(state: *mut ffi::lua_State, index: c_int) -> *co
&(*ud).0
}
-#[no_mangle]
-pub unsafe extern "C" fn mlua_get_wrapped_error(
- state: *mut ffi::lua_State,
- index: c_int,
-) -> *const c_void {
- get_wrapped_error(state, index) as *const c_void
-}
-
// Initialize the internal (with __gc) metatable for a type T
pub unsafe fn init_gc_metatable_for<T: Any>(
state: *mut ffi::lua_State,