We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f1fe9c8 commit 90dab7eCopy full SHA for 90dab7e
src/lib.zig
@@ -4296,6 +4296,18 @@ pub const Lua = opaque {
4296
if (lang == .lua52 or lang == .lua53 or lang == .lua54) lua.pop(1);
4297
}
4298
4299
+ /// Open the vector standard library
4300
+ ///
4301
+ /// Only available in Luau
4302
4303
+ /// * Pops: `0`
4304
+ /// * Pushes: `0`
4305
+ /// * Errors: `other`
4306
+ pub fn openVector(lua: *Lua) void {
4307
+ lua.requireF(c.LUA_VECLIBNAME, c.luaopen_vector, true);
4308
+ if (lang == .lua52 or lang == .lua53 or lang == .lua54) lua.pop(1);
4309
+ }
4310
+
4311
/// Returns if given typeinfo is a string type
4312
fn isTypeString(typeinfo: std.builtin.Type.Pointer) bool {
4313
const childinfo = @typeInfo(typeinfo.child);
0 commit comments