Remove SubtypeId from AnyUserData and instead add Value::Other variant that will cover any unknown types (eg. LuaJIT CData)

This commit is contained in:
Alex Orlenko
2024-10-02 12:16:48 +01:00
parent b6cdf32f16
commit 04d8106676
9 changed files with 31 additions and 52 deletions
+1 -1
View File
@@ -88,6 +88,6 @@ impl ObjectLike for AnyUserData {
#[inline]
fn to_string(&self) -> Result<StdString> {
Value::UserData(AnyUserData(self.0.copy(), self.1)).to_string()
Value::UserData(AnyUserData(self.0.copy())).to_string()
}
}