Add new Buffer type for Luau.

Previously it was represented as `AnyUserData` which is not always convenient.
This commit is contained in:
Alex Orlenko
2024-10-01 15:21:19 +01:00
parent 4dddf3c18d
commit 529361fcbc
15 changed files with 248 additions and 91 deletions
-2
View File
@@ -32,8 +32,6 @@ pub type Number = ffi::lua_Number;
#[derive(Debug, Copy, Clone, Eq, PartialEq)]
pub(crate) enum SubtypeId {
None,
#[cfg(feature = "luau")]
Buffer,
#[cfg(feature = "luajit")]
CData,
}