mirror of https://github.com/icedland/iced.git
Update comment
This commit is contained in:
parent
c0df3d82ef
commit
3b498e3eda
|
@ -186,7 +186,7 @@ pub struct Lua<'lua> {
|
||||||
#[repr(C)]
|
#[repr(C)]
|
||||||
struct WrappedUserData<T: LuaUserData> {
|
struct WrappedUserData<T: LuaUserData> {
|
||||||
// LuaUserData::UNIQUE_ID is stored in this field so we can check if it's our userdata.
|
// LuaUserData::UNIQUE_ID is stored in this field so we can check if it's our userdata.
|
||||||
// This field must be the first field, see get_user_data()
|
// This field must be the first field, see `get_user_data_body!()`
|
||||||
id: u32,
|
id: u32,
|
||||||
ud: T,
|
ud: T,
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue