make those fields public

This commit is contained in:
William Venner 2021-09-18 19:42:18 +01:00
parent 6fb845afbe
commit bea6748666
1 changed files with 2 additions and 2 deletions

View File

@ -10,8 +10,8 @@ pub use lua_state::LuaState as State;
#[derive(Debug)] #[derive(Debug)]
pub struct UserData pub struct UserData
{ {
data: *mut core::ffi::c_void, pub data: *mut core::ffi::c_void,
r#type: u8 pub r#type: u8
} }
#[derive(Debug, Clone)] #[derive(Debug, Clone)]