From bea6748666645b2a98a19b5e0f13267de6368f57 Mon Sep 17 00:00:00 2001 From: William Venner Date: Sat, 18 Sep 2021 19:42:18 +0100 Subject: [PATCH] make those fields public --- gmod/src/lua/mod.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gmod/src/lua/mod.rs b/gmod/src/lua/mod.rs index 95dfa2d..f858b12 100644 --- a/gmod/src/lua/mod.rs +++ b/gmod/src/lua/mod.rs @@ -10,8 +10,8 @@ pub use lua_state::LuaState as State; #[derive(Debug)] pub struct UserData { - data: *mut core::ffi::c_void, - r#type: u8 + pub data: *mut core::ffi::c_void, + pub r#type: u8 } #[derive(Debug, Clone)]