Add stab tag for metamethods

This commit is contained in:
2025-06-26 00:39:22 +10:00
parent cbb47840e4
commit da5acd6bc8
2 changed files with 11 additions and 7 deletions

View File

@@ -9,12 +9,12 @@ use std::{
#[allow(non_camel_case_types)]
pub mod stub_types {
pub struct any;
pub type nil = ();
pub struct nil;
pub type boolean = bool;
pub type lightuserdata = *mut ();
pub type number = f64;
pub type integer = i64;
pub type string = &'static str;
pub struct lightuserdata;
pub struct number;
pub struct integer;
pub type string = String;
pub struct table;
pub struct function;
pub struct userdata;