summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlex Orlenko <zxteam@protonmail.com>2024-10-19 15:14:09 +0100
committerAlex Orlenko <zxteam@protonmail.com>2024-10-19 15:14:09 +0100
commita020b2b5b21753055ae778f5aa2d54e74357f0e0 (patch)
tree78247422b43fccb2d5fe559acda8a5785742047c
parent2c756e59585962f534421aa57bd92e2b3efe3e56 (diff)
downloadmlua-a020b2b5b21753055ae778f5aa2d54e74357f0e0.zip
Remove functions deprecated in v0.9
-rw-r--r--src/userdata.rs18
1 files changed, 0 insertions, 18 deletions
diff --git a/src/userdata.rs b/src/userdata.rs
index ea7211e..4a668f6 100644
--- a/src/userdata.rs
+++ b/src/userdata.rs
@@ -739,12 +739,6 @@ impl AnyUserData {
self.nth_user_value(1)
}
- #[doc(hidden)]
- #[deprecated(since = "0.9.0", note = "please use `user_value` instead")]
- pub fn get_user_value<V: FromLua>(&self) -> Result<V> {
- self.nth_user_value(1)
- }
-
/// Sets an associated `n`th value to this `AnyUserData`.
///
/// The value may be any Lua value whatsoever, and can be retrieved with [`nth_user_value`].
@@ -818,12 +812,6 @@ impl AnyUserData {
}
}
- #[doc(hidden)]
- #[deprecated(since = "0.9.0", note = "please use `nth_user_value` instead")]
- pub fn get_nth_user_value<V: FromLua>(&self, n: usize) -> Result<V> {
- self.nth_user_value(n)
- }
-
/// Sets an associated value to this `AnyUserData` by name.
///
/// The value can be retrieved with [`named_user_value`].
@@ -880,12 +868,6 @@ impl AnyUserData {
}
}
- #[doc(hidden)]
- #[deprecated(since = "0.9.0", note = "please use `named_user_value` instead")]
- pub fn get_named_user_value<V: FromLua>(&self, name: &str) -> Result<V> {
- self.named_user_value(name)
- }
-
/// Returns a metatable of this `UserData`.
///
/// Returned [`UserDataMetatable`] object wraps the original metatable and